Fatal error on page
-
Hello,
We are getting the following fatal error on one page:
Fatal error: Uncaught Error: Call to a member function get_date_created() on null in /home/ikurogam/public_html/wp-content/plugins/duracelltomi-google-tag-manager/integration/woocommerce.php:432 Stack trace: #0 /home/ikurogam/public_html/wp-includes/class-wp-hook.php(288): gtm4wp_woocommerce_datalayer_filter_items(Array)
#1 /home/ikurogam/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
#2 /home/ikurogam/public_html/wp-content/plugins/duracelltomi-google-tag-manager/public/frontend.php(818): apply_filters(‘gtm4wp_compile_…’, Array)
#3 /home/ikurogam/public_html/wp-includes/class-wp-hook.php(286): gtm4wp_wp_header_begin()
#4 /home/ikurogam/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
#5 /home/ikurogam/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#6 /home/ikurogam/public_html/wp-includes/general-template.php(2879): do_action(‘wp_head’)
#7 /home/ikurogam/public_html/wp-content/themes/flatsome/page-blank-landingpage.php(14): wp_head() in /home/ikurogam/public_html/wp-content/plugins/duracelltomi-google-tag-manager/integration/woocommerce.php on line 432
this problem disappears by deactivating the option “Order data in the data layer”
There is another way to fix this without deactivating?
thanks you,
The page I need help with: [log in to see the link]
- The topic ‘Fatal error on page’ is closed to new replies.