Conflict with woocommerce simple auction plugin
-
Hi Chouby,
I get a crash based on a conflict between polylang and woocommerce simple-auction plugin:
Fatal error: Call to a member function get_default_language() on a non-object in […]/wp-content/plugins/woocommerce-simple-auctions/classes/class-wc-product-auction.php on line 248
I read your remarks here, and forwarded them to the authors of the simple auction plugin:
https://polylang.wordpress.com/2014/05/30/fatal-error-call-to-a-member-function-on-a-non-object-in/
But they state: We are not doing it in that way, our plugin is fine, contact polylang guys.
I see code likt that in the plugin:
if(function_exists('icl_object_id')) { global $sitepress; $id = icl_object_id($this->id,'product',false, $sitepress->get_default_language()); } else { $id = $this->id; }
To me this looks very close to what you are describing, but I am no php expert…
I could switch to WPML, of course, but I would like to avoid if possible – so far I like your plugin a lot! Do you see a solution on your side, or will I have to accept that these two plugins will not work together?
Thanks a lot!
- The topic ‘Conflict with woocommerce simple auction plugin’ is closed to new replies.