WordPress.org

Make WordPress Core

Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#47748 closed defect (bug) (invalid)

Getting "jetpack_tracks_get_identity is deprecated" error in wp-includes

Reported by: mozdzanowski Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: Cc:

Description

Not exactly sure if this is the place for this particular issue, but I'm having a problem with WooCommerce services(shipping calculator) that I believe are powered by Jetpack, so I understand this could be related.

The error is the following:

Notice: jetpack_tracks_get_identity is deprecated since version jetpack-7.5! Use Automattic\Jetpack\Tracking->tracks_get_identity instead. in /HIDDEN/wp-includes/functions.php on line 4435

Seems like an issue between core WP and Jetpack, more on the core side, eg. problem is located in wp-includes.

I'm on a phone posting this at the moment so I haven't been able to check or update a fix. Thought I'd bring it to attention. Need to get a fix.

Change History (2)

#1 @TimothyBlynJacobs
18 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 5.2.2 deleted

Hi @mozdzanowski!

While the error references wp-includes, this is actually an issue in WooCommerce: https://github.com/woocommerce/woocommerce/issues/24067, https://github.com/Automattic/woocommerce-services/issues/1633, https://github.com/woocommerce/woocommerce/pull/24050

The reason for the wp-includes reference is because WooCommerce is using the _deprecated_function API which triggers an error from WordPress Core code. This can give a bit of a misleading error message.

#2 @mozdzanowski
18 months ago

@TimothyBlynJacobs

Ah got it. Thanks for clarifying, and those links to the WC issues.

Note: See TracTickets for help on using tickets.