Call to a member function get_id() on null in class-jetpack-woocommerce-analytics-universal.php:242 #20743
Labels
[Closed] Duplicate
Duplicate of an existing issue.
[Feature] WooCommerce Analytics
[Plugin] Jetpack
Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/
[Type] Bug
When a feature is broken and / or not performing as intended
Impacted plugin
Jetpack
Steps to Reproduce
A clear and concise description of what you expected to happen.
The template should present normally, containing the product details. This requires Elementor Pro because it concerns Product templates, which are only available in Pro. The problem may affect other page builders as well.
I found a potentially related discussion here: https://wordpress.org/support/topic/fatal-error-in-jetpack-woocommerce-analytics/
What actually happened
PHP fatal error in class-jetpack-woocommerce-analytics-universal.php:242
Other information
CRITICAL Uncaught Error: Call to a member function get_id() on null in /nas/content/live/strymon/wp-content/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-universal.php:242
Stack trace:
#0 /nas/content/live/strymon/wp-includes/class-wp-hook.php(303): Jetpack_WooCommerce_Analytics_Universal->capture_product_view('')
#1 /nas/content/live/strymon/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
#2 /nas/content/live/strymon/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#3 /nas/content/live/strymon/wp-content/plugins/elementor-pro/modules/woocommerce/documents/product.php(123): do_action('woocommerce_aft...')
#4 /nas/content/live/strymon/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(189): ElementorPro\Modules\Woocommerce\Documents\Product->after_get_content()
#5 /nas/content/live/strymon/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(200): ElementorPro\Modules\ThemeBuilder\Docu in /nas/content/live/strymon/wp-content/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-universal.php on line 242
Operating System
Linux
OS Version
WP Engine Private Server
Browser
Firefox
Browser Version(s)
Latest
The text was updated successfully, but these errors were encountered: