Based on the error message it is generated on this line:
https://github.com/duracelltomi/gtm4wp/blob/master/integration/woocommerce.php#L969
But from here it is very hard to guess what could cause this behavior.
Are you using latest stable WordPress/WooCommerce/GTM4WP?
Hello, yes all plugins are up to date.
I’m currently trying to debug another issue between WooCommerce & WPML, in doing so I deleted thousands of product categories that were mistakingly imported. Thousands of products were left without a category which I then had to go and add back to the uncategorized category. Not sure if that’s relevant to this issue but figured I would put it out there since that line of code references product category.
The error line definitely shows me that it is happening with products having no categories. If you can put all product into at least one category, the error should go away
I have updated all product and they are at the very least in the default “Uncategorized” category. Still getting the error. Every few minutes it will log the same error about 10 times or so in a couple seconds. There is also this new one. Related I’m assuming but different form the other.
PHP Notice: Undefined index: loop in /home/mcpirdmy/public_html/wp-content/plugins/duracelltomi-google-tag-manager/integration/woocommerce.php on line 969
Is there something I could try to reset within the plugin now that I have added the products back into a category?