addto cart event track errors in log file
-
I just noticed thousands of these in the log file:
Cannot record AddToCart event because the product cannot be determined. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/x/template-home.php’), get_header, locate_template, load_template, require_once(‘/themes/x/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, wp_print_head_scripts, do_action(‘wp_print_scripts’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Frontend_Scripts::localize_printed_scripts, WC_Frontend_Scripts::localize_script, WC_Frontend_Scripts::get_script_data,
I mean thousands and thousands.
thanks
/J
- The topic ‘addto cart event track errors in log file’ is closed to new replies.