Automattic\Jetpack\Stats\Tracking_Pixel::get_footer_to_add deprecated error | WordPress.org

[ad_1]

Just updated to Jetpack 12.4 and this ErrorException started popping up all over the place all of a sudden.

User Deprecated: Function Automattic\Jetpack\Stats\Tracking_Pixel::get_footer_to_add is <strong>deprecated</strong> since version 0.6.0 with no alternative available

We use Jetpack Stats and that’s about it.

  1. Are the stats no longer being counted?
  2. Is Jetpack aware of the issue?

Here’s the full stack trace:

ErrorException: User Deprecated: Function Automattic\Jetpack\Stats\Tracking_Pixel::get_footer_to_add is <strong>deprecated</strong> since version 0.6.0 with no alternative available.
#9 /wordpress/wp-includes/functions.php(5463): _deprecated_function
#8 /wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-stats/src/class-tracking-pixel.php(199): Automattic\Jetpack\Stats\Tracking_Pixel::get_footer_to_add
#7 /wp-content/themes/XXXXXXXXX/footer.php(55): require_once
#6 /wordpress/wp-includes/template.php(785): load_template
#5 /wordpress/wp-includes/template.php(720): locate_template
#4 /wordpress/wp-includes/general-template.php(92): get_footer
#3 /wp-content/themes/XXXXXXXXX/archive.php(205): include
#2 /wordpress/wp-includes/template-loader.php(106): require_once
#1 /wordpress/wp-blog-header.php(19): require
#0 /index.php(23): null

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer