#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)
Note: See
TracTickets for help on using
tickets.
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/24050The 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.