Fatal error get_sku()
-
Hey guys,
Getting a fatal error here on a call to get_sku(). This is showing up on a number of pages throughout my site. It’s preventing any tracking getting through at all.
Only seems to show up for non-logged in users.
Fatal error: Uncaught Error: Call to a member function get_sku() on null in /***/wp-content/plugins/woocommerce-google-analytics-integration/includes/class-wc-google-analytics-js.php:445 Stack trace: #0 /***/wp-content/plugins/woocommerce-google-analytics-integration/includes/class-wc-google-analytics.php(484): WC_Google_Analytics_JS->product_detail(NULL) #1 /***/wp-includes/plugin.php(525): WC_Google_Analytics->product_detail(”) #2 /***/wp-content/themes/wws/page-bundle-temp.php(136): do_action(‘woocommerce_aft…’) #3 /***/wp-includes/template-loader.php(89): include(‘/***…’) #4 /***/wp-blog-header.php(16): require_once(‘/***…’) #5 /***/index. in /***/wp-content/plugins/woocommerce-google-analytics-integration/includes/class-wc-google-analytics-js.php on line 445
On the latest WooCommerce (2.5.2), Integration plugin (1.4.0) and WP (4.4.2) as of writing
Let me know if you need any more info! Appreciate any info your team can provide on tracking this issue down…
Cheers,
Joshhttps://www.ads-software.com/plugins/woocommerce-google-analytics-integration/
- The topic ‘Fatal error get_sku()’ is closed to new replies.