Uncaught Error: Call to a member function get_product()
-
Hello,
we get an error on the checkout thank you page.The error is the following:
Fatal error: Uncaught Error: Call to a member function get_product() on array in /home/laluce/webapps/laluce/wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/public/class-enhanced-ecommerce-google-analytics-public.php:279 Stack trace: #0 /home/laluce/webapps/laluce/wp-includes/plugin.php(524): Enhanced_Ecommerce_Google_Analytics_Public->ecommerce_tracking_code(78547) #1 /home/laluce/webapps/laluce/wp-content/themes/bodega/woocommerce/checkout/thankyou.php(64): do_action(‘woocommerce_tha…’, 78547) #2 /home/laluce/webapps/laluce/wp-content/plugins/woocommerce/includes/wc-core-functions.php(203): include(‘/home/laluce/we…’) #3 /home/laluce/webapps/laluce/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(212): wc_get_template(‘checkout/thanky…’, Array) #4 /home/laluce/webapps/laluce/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(59): WC_Shortcode_Checkout::order_received(78547) #5 /home/laluce/webapps/laluce/wp-content/plugins/woocommerce/i in /home/laluce/webapps/laluce/wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/public/class-enhanced-ecommerce-google-analytics-public.php on line 279
We run:
– WordPress 4.6.17
– Woocommerce 2.6.14
– PHP 7.2.28Any idea on how to solve?
Thank youThe page I need help with: [log in to see the link]
The topic ‘Uncaught Error: Call to a member function get_product()’ is closed to new replies.