Closed tomkowa64 closed 6 months ago
@tomkowa64 thanks - yeah that's not a problem at all. We'll patch this up in our current iteration. Super quick and easy 👍
@tomkowa64 this is patched in the latest release 4.0 that just went out today. Let us know if you're still facing that same issue after upgrade.
Describe the bug
Uncaught Error: Call to a member function deleteStoreProduct() on bool in C:\wamp64\www\wordpress\wp-content\plugins\mailchimp-for-woocommerce\includes\class-mailchimp-woocommerce-service.php
When i try to delete variation of my woocommerce product, the delete proccess gets stuck (only on frontend). I debugged it a bit on my localhost clean enviroment and came to the conclusion that it is casused due to the not configured plugin. I maintain one of client website and looks like someone of previous devs installed this plugin and never used it. Kinda rare use case but i guess it'd be nice to fix it.
To Reproduce
Expected behavior Product variation gets deleted (on frontend), and no fatal error.
Operating environment (please complete the following information):
Suggested fix for
class-mailchimp-woocommerce-service.php
: