• Resolved moddy221

    (@moddy221)


    Hi there,

    I had to disable Jetpack from my main site. Currently on staging it shows this error.

    `Fatal error: Uncaught Error: Call to a member function get_id() on null in /www/eroofingcouk_311/public/wp-content/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-universal.php:264 Stack trace: #0 /www/eroofingcouk_311/public/wp-includes/class-wp-hook.php(308): Jetpack_WooCommerce_Analytics_Universal->capture_product_view(”) #1 /www/eroofingcouk_311/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #2 /www/eroofingcouk_311/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /www/eroofingcouk_311/public/wp-content/plugins/td-woo/templates/td_woo_view.php(42): do_action(‘woocommerce_aft…’) #4 /www/eroofingcouk_311/public/wp-includes/template-loader.php(106): include(‘/www/eroofingco…’) #5 /www/eroofingcouk_311/public/wp-blog-header.php(19): require_once(‘/www/eroofingco…’) #6 /www/eroofingcouk_311/public/index.php(17): require(‘/www/eroofingco…’) #7 {main} thrown in /www/eroofingcouk_311/public/wp-content/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-universal.php on line 264

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • I also got a fatal Error today. Contacted my host (Hostgator) to fix and and they said it was Jetpack after deactivating my plugs-in and going into recovery mode. Not sure how Jetpack support can be contacted on this issue.

    • This reply was modified 3 years, 6 months ago by deana72.
    Thread Starter moddy221

    (@moddy221)

    Any updates on this? Really, need this to work so at least I can use the Woo app on the phone.

    Plugin Support lastsplash (a11n)

    (@lastsplash)

    Hi @moddy221

    In order to isolate Jetpack as the cause, could you please disable all plugins other than Jetpack and WooCommerce let us know if you continue to receive the error message?

    The Health Check plugin’s “Troubleshooting Mode” is a good way to do this. It allows you to make changes to your site without them reflecting on the frontend. You can download that plugin here:

    https://wordpress.org/plugins/health-check/

    Once you’ve installed and activated the plugin, you can go to Tools → Site Health:

    * Select the Troubleshooting tab and then click Enable Troubleshooting to automatically disable all plugins and add a new Troubleshooting Menu item in the toolbar at the top of the wp-admin dashboard.
    * From here, you can enable and disable plugins and change the theme for your site, but without affecting normal visitors to your site.

    I recommend starting by testing with a different theme. Please try with a default theme such as “Twenty Twenty” and see if you experience the same issue. If you do not, the issue is with your theme. You will need to reach out to your theme developers for a fix.

    If it isn’t a theme issue, you will need to test for a plugin conflict. Within Health Check, please disable all plugins other than Jetpack and test again. If it works as expected, you know that the issue is with one of your plugins. Please enable your plugins one at a time, testing after each one, until you encounter the issue again. Once you do, you will know which plugin is causing the issue. At that point, you can either leave it disabled or reach out to the developers for a fix.

    Let us know what you find out.

    Plugin Support lastsplash (a11n)

    (@lastsplash)

    Hi @deana72

    Could you please start your own thread, as per the Forum Welcome guidelines?

    https://wordpress.org/support/plugin/jetpack#new-post

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Fatal Error (Product pages broken)’ is closed to new replies.