• Resolved skoldin

    (@skoldin)


    Hello,

    We are getting the following fatal error on checkout:

    Fatal error: Uncaught Error: Call to a member function get_id() on boolean in /home/radiusuk/public_html/wp-content/plugins/duracelltomi-google-tag-manager/integration/woocommerce.php:327 Stack trace: #0 /home/radiusuk/public_html/wp-includes/class-wp-hook.php(298): gtm4wp_woocommerce_datalayer_filter_items(Array) #1 /home/radiusuk/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #2 /home/radiusuk/public_html/wp-content/plugins/duracelltomi-google-tag-manager/public/frontend.php(571): apply_filters(‘gtm4wp_compile_…’, Array) #3 /home/radiusuk/public_html/wp-includes/class-wp-hook.php(298): gtm4wp_wp_header_begin(”) #4 /home/radiusuk/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #5 /home/radiusuk/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /home/radiusuk/public_html/wp-includes/general-template.php(2589): do_action(‘wp_head’) #7 /home/radiusuk/public_html/wp-content/themes/Avada/header.php(22): wp_head() #8 /home/radiusuk/public in /home/radiusuk/public_html/wp-content/plugins/duracelltomi-google-tag-manager/integration/woocommerce.php on line 327

    Nothing special to recreate, I just added this product to the cart, proceeded to checkout, filled in the fields as normal and got this.

    Can you please investigate and fix this?

    Regards,
    Igor

    • This topic was modified 7 years ago by skoldin.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi Igor,

    This has been already fixed in the dev version of the plugin. Some other fixes are being tested currently, I will do my best to release a new plugin version asap.

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi Igor,

    A new plugin version has been released that should address your error messages as well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error on checkout’ is closed to new replies.