• Resolved cakesandwiches

    (@cakesandwiches)


    There seems to be a conflict between AI1EC and Jigoshop

    The error only appears when AI1EC is active – Here is the error that appears:
    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" 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 /plugins/jigoshop/classes/jigoshop_cart.class.php on line 442

    The Jigoshop support forums suggest there is a conflict with session_start(); and that removing that line of code from your plugin might resolve things. I can’t seem to find this code – any suggestions?

    Here is a link to their forum post about it.

    Any help/insights are greatly appreciated. Thanks.

    https://www.ads-software.com/extend/plugins/all-in-one-event-calendar/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter cakesandwiches

    (@cakesandwiches)

    I should mention I am using the latest version of both jigoshop and the premium calendar plugin.

    Thread Starter cakesandwiches

    (@cakesandwiches)

    I found and removed session_start(); in Ai1ecFacebookConnectorPlugin.php. This seems to have stopped the error. Still interested in your thoughts and sorry for the forum spam.

    Thanks!

    Richard

    (@richardgirling)

    Hi cakesandsandwiches,

    Thank you for providing the solution to this for other users. This is the first time I have heard of this, so I can only assume there are not many users out there who use both the jigoshop plugin and the ai1ec plugin.

    If you find that removing the session_start code from the ai1ec plugin causes any bugs with the ai1ec Facebook integration, please let us know.

    I have encountered the same issue with Jigoshop and the All-in-one Event Calendar after adding a product to the store. However, removing the line of code session_start() in the php file that cakesandwiches mentioned resolved my issue. Thanks!

    Richard

    (@richardgirling)

    That’s great to hear, sirk63. Thank you for confirming the fix.

    Hi, Richard,
    there is another conflict between ai1ec and jigoshop
    In ai1ec Settings I got the message:

    Warning: Missing argument 2 for jigoshop_product_data_help() in /……./wp-content/plugins/jigoshop/admin/jigoshop-admin-help.php on line 221

    Here is the code:

    add_action( ‘add_meta_boxes’ , ‘jigoshop_product_data_help’ , 10 , 2 );
    LINE 221: function jigoshop_product_data_help ( $post_type , $post ) {
    if ( ‘product’ != $post_type )
    return false;

    Regards,
    norbnorb

    Richard

    (@richardgirling)

    Hi norbnorb,

    I am going to get our Technical Support Specialist to look into this to ascertain if this issue is due to the Ai1EC or Jigoshop.

    @norbnorb,
    Please replace wp-content/plugins/jigoshop/admin/jigoshop-admin-help.php on line 221:
    function jigoshop_product_data_help ( $post_type , $post ) {
    with:
    function jigoshop_product_data_help ( $post_type) {

    Regards

    @richard , @ula,

    that does the trick. Thank you for being so responsive.

    Regards

    Richard

    (@richardgirling)

    That’s great to hear. Thank you for the positive feedback.

    ebbie01

    (@ebbie01)

    Hello, I followed the link mentioned previously in this string to try and resolve my cart issue. I am able to “add to Cart”, I am also able to place order. However, when I click on the Paypal button for Paypal Express Checkout I get:

    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" 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/eleslied/public_html/wp-content/plugins/jigoshop/classes/jigoshop_cart.class.php on line 577

    Does anyone have the fix for this error?
    Thank you

    I am very sorry for the delayed response. Our support volume was quite high since the release of v1.9. Your patience has been greatly appreciated.

    If you are still experiencing this issue, can you please email [email protected] and include your WP admin access. If you are a Pro user, we will be able to escalate your case to a technical specialist so they can take a closer look. If you’re not, we’ll see if there’s something we can do.

    Thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: All-in-One Event Calendar] Jigoshop Conflict’ is closed to new replies.