Plugin Author
alekv
(@alekv)
Hi @embercide
Thanks for reporting this. The problem was reported before and appears to only affect misconfigured variable products.
One user reported to have fixed it like this:
I’ve deleted one too many attribute. Reinserted the attribute and everything works fine now.
I tried to reproduce this error in our development environment, but I couldn’t, which is why I can’t fix this, unless I get access to an installation where this error appears.
If you’re willing to give me access to your install, I’ll debug this and will build a workaround into the plugin. Send me an email with WordPress admin and FTP access to support@wolfundbaer.ch if you want to help.
Hi @alekv
Unfortunately I can’t provide access to our site due to customer confidentiality.
Happy to follow your instruction to identify if it is related to variable products.
Plugin Author
alekv
(@alekv)
I released a new version (1.8.21) that contains a fallback when it encounters a misconfigured variation.
Let me know if that works now for you.
Plugin Author
alekv
(@alekv)
I’m closing this thread as I’ve got confirmation that the issue is resolved with the newest version of the plugin.
Feel free to add another response to this thread in case it doesn’t work for you.
hi, i have the last version 1.8.21 but we have this fatal error
[22-Mar-2021 10:12:53 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_id() on bool in /home/clients/abbc6b8e6659c2c904f2f6597ff17c45/web/wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/classes/pixels/class-google-pixel-manager.php:236
Stack trace:
#0 /home/clients/abbc6b8e6659c2c904f2f6597ff17c45/web/wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/classes/pixels/class-google-pixel-manager.php(222): WGACT\Classes\Pixels\Google_Pixel_Manager->eec_get_visible_products(Array)
#1 /home/clients/abbc6b8e6659c2c904f2f6597ff17c45/web/wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/classes/pixels/class-google-pixel-manager.php(89): WGACT\Classes\Pixels\Google_Pixel_Manager->inject_data_layer_product()
#2 /home/clients/abbc6b8e6659c2c904f2f6597ff17c45/web/wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/classes/pixels/class-pixel-manager.php(71): WGACT\Classes\Pixels\Google_Pixel_Manager->inject_everywhere()
#3 /home/clients/abbc6b8e6659c2c904f2f6597ff17c45/ in /home/clients/abbc6b8e6659c2c904f2f6597ff17c45/web/wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/classes/pixels/class-google-pixel-manager.php on line 236
Plugin Author
alekv
(@alekv)
Hi @fulviods
That must be misconfigured variable product.
In any case, I’ve added a fallback to the code which will be released with the next version end of this week.