Website Get Stuck Due to Log Error
-
I am facing an issue in google tag manager sometimes my website not load, properly it take a too long time and then shows an error page. But when I check my woocommerce status log. It shows the following fatal error.
2020-01-31T17:49:46+00:00 CRITICAL Uncaught Error: Call to a member function get_applied_coupons() on null in /var/www/html/wp-content/plugins/duracelltomi-google-tag-manager/integration/woocommerce.php:267
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(288): gtm4wp_woocommerce_datalayer_filter_items(Array)
#1 /var/www/html/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
#2 /var/www/html/wp-content/plugins/duracelltomi-google-tag-manager/public/frontend.php(818): apply_filters(‘gtm4wp_compile_…’, Array)
#3 /var/www/html/wp-includes/class-wp-hook.php(286): gtm4wp_wp_header_begin()
#4 /var/www/html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
#5 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#6 /var/www/html/wp-includes/general-template.php(2879): do_action(‘wp_head’)
#7 /var/www/html/wp-content/themes/martfury/header.php(16): wp_head()
#8 /var/www/html/wp-includes/template.php(722): require_once(‘/var/www/html/w…’)
#9 /var/www/html/wp-includes/template.php(671): in /var/www/html/wp-content/plugins/duracelltomi-google-tag-manager/integration/woocommerce.php on line 267
Could you please What this stack say ?? and how to resolve this issue?The page I need help with: [log in to see the link]
- The topic ‘Website Get Stuck Due to Log Error’ is closed to new replies.