Lots of add to cart events issues in logs
-
Hi Simon,
Me again ?? – i’ve got a serious prob in that the plugin seems to be generating a massive amount of errors in my log file. Specifically this crops up every ten seconds or so – so much so that I had to delete a 6gb log file yesterday!
Cannot record AddToCart event because the product cannot be determined. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/woocommerce/templates/taxonomy-product_cat.php’), wc_get_template, include(‘/themes/theretailer/woocommerce/archive-product.php’), get_header, locate_template, load_template, require_once(‘/themes/theretailer/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,
This is the limit of what’s in the log. I’ve had to put a limit into php to stop this from running but it’s only a temp fix. This seems to have been happening before my upgrade to the latest version too. The only reason I discovered it was that my auto updates had started to fail. It was because i ran out of space on my server!
Is this something that you can look into for me?
Kind regards
Brian.
- The topic ‘Lots of add to cart events issues in logs’ is closed to new replies.