WordPress.org

Ready to get started?Download WordPress

Forums

All-in-One Event Calendar
[resolved] Jigoshop Conflict (13 posts)

  1. cakesandwiches
    Member
    Posted 1 year ago #

    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.

    http://wordpress.org/extend/plugins/all-in-one-event-calendar/

  2. cakesandwiches
    Member
    Posted 1 year ago #

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

  3. cakesandwiches
    Member
    Posted 1 year ago #

    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!

  4. Richard
    Member
    Posted 1 year ago #

    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.

  5. sirk63
    Member
    Posted 1 year ago #

    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!

  6. Richard
    Member
    Posted 1 year ago #

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

  7. norbnorb
    Member
    Posted 1 year ago #

    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

  8. Richard
    Member
    Posted 1 year ago #

    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.

  9. Ula Szczepaniak
    Member
    Posted 1 year ago #

    @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

  10. norbnorb
    Member
    Posted 1 year ago #

    @Richard , @Ula,

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

    Regards

  11. Richard
    Member
    Posted 1 year ago #

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

  12. ebbie01
    Member
    Posted 1 year ago #

    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

  13. bnkeith22
    Member
    Posted 1 year ago #

    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 help@time.ly 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic