I have a multisite that uses Jigoshop and was receiving this error message when something was added to the cart:
Fatal error: jigoshop_cart::calculate_cart_total() [jigoshop-cart.calculate-cart-total]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "jigoshop_product_variation" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /home/bjewelry/public_html/wp-content/plugins/jigoshop/classes/jigoshop_cart.class.php on line 507
It works on IE but not the other browser such as google and opera. Plus I was not able to get back to the site. If I tried to access in one of those broswers it was not able to locate the site.
I discovered it was your plugin after comparing it to the test site and noticing I hadn’t installed your plugin on the test site. Once I deactivated your plugin the site was back to normal.
I am using the latest Jigoshop verision 1.7.3.
Thanks for reporting this issue.
I just downloaded Jigoshop version 1.7.3 so I can try to get to the bottom of this issue.
I will let you know just as soon as I have a solution for you.
I have been testing my plugin with jigoshop and I cannot find any conflicts between the two. Is there any way I could test my plugin on your site to see where the problem is coming from?
I would just need to see the error on your site and then step through the code in my plugin (disabling different part where and there) until I found the bit that was causing the error. I would greatly appreciate your assistance in this matter, as yours is the only site I know of that s having this issue. You can email me directly: eli at gotmls dot net
Thanks for letting me into your admin to track down the source of this issue. I was able to deturmine the problem with jigoshop. It turns out that jigoshop is storing their cart in the session as a custom class object that is definined in their plugin. The problem occurs when any other plugin tries to start the session before jigoshop has denined their class objects. If the session is started and the object in the session is not defined at that time then they cannot access and functions or properties of that object.
I have decided to yield to jigoshop in this instance by updating my plugin to wait until all other plugins are loaded before attempting to start a session. This solution work on your server but you should be aware that any other plugin that tries to start the session before jigoshop will also cause this same error to occur. I feel that this is something that jigoshop needs to address, and I will post this info on their forum too, but I see that they don’t respond much to forum posts so I don’t know if they will do anything about it.
After testing the solution that I worked out for you I have released a plugin update with these changes so that other users will not have the issue that you did. Feel free to update to version 3.07.26 if you want.
Thanks again for helping me get to the bottom of this issue and allowing me access to your WP Admin.
- The topic ‘Jigoshop Conflict’ is closed to new replies.