Ecwid Ecommerce Shopping Cart
[resolved] Updating to 1.7 today WordPress site crashed (13 posts)

  1. mikesart1
    Posted 2 years ago #

    When I updated the shopping cart plugin to 1.7 I got a Fatal error on my WordPress 3.6 site:

    Fatal error: Call to undefined function get_ecwid_store_id() in /home4/onreflex/public_html/hhcc.com.au/wp-content/plugins/ecwid-useful-tools/functions.php on line 74

    I had the host server fix the site but now the site has no access to its Ecwid shop. Is it possible to get the previous version of this plugin to give the site Ecwid access and won't
    crash the site?


  2. makfruit
    Posted 2 years ago #


    The problem, as you might see from the error message text, is caused by the Ecwid Product Advisor (ecwid-useful-tools) plugin provided by third party developers (http://wordpress.org/plugins/ecwid-useful-tools/). The thing is some crucial parts of the Product Advisor plugin code depend on the Ecwid Shopping Cart plugin and thus cause the fatal error in cases when the shopping cart plugin is disabled or not available in WordPress. This, most likely, happened when you updated the shopping cart plugin - it temporarily became unavailable while upgrading and the Product Advisor crashed WordPress.

    We reported the issue to the developers of Product Advisor plugin - they are working on the fix now.

    Meanwhile, to make your shopping cart work, you can disable the Product Advisor plugin.

  3. David
    Posted 2 years ago #

    I would disable and delete the plugin and simply use the Ecwid copy and paste features so you have your store back up and running and can probably get something very comparable to the plugin directly through the Ecwid company premium service itself so you wouldn't have to bother with the plugin if it's not working properly. Ecwid is extremely adaptable and fluid.

  4. whatachamp
    Posted 2 years ago #

    My sites also crashed. I rolled Ecwid shopping cart back to version 1.8.1 and everything is running smoothly again.
    Its always good to frequently back up your site to somewhere like dopbox so you can roll back plugins if they break after updating :)

    I did guess that the crash was caused by the Product Advisor plugin as the site displayed everything up the where my ecwid widgets were displayed. Hopefully Product advisor issue a fix soon.

  5. makfruit
    Posted 2 years ago #

    Hi Whatachamp,

    Thank you for the message. The authors of Product Advisor plugin reported that the problem was fixed. So, there could be another issue. Can you please provide a link to your site - I will have a look.

    Also, do you use any JS/CSS optimization/compression plugins like WP minify or something like that?


  6. whatachamp
    Posted 2 years ago #

    Thanks makfruit, I've just updated my test site and enabled debug mode and can see these errors:

    Notice: Undefined index: settings_section in ...wp-content/plugins/ecwid-shopping-cart/ecwid-shopping-cart.php on line 655

    Notice: Undefined index: days_left in .../wp-content/plugins/ecwid-useful-tools/functions.php on line 82

    Notice: Undefined index: trial_days in .../wp-content/plugins/ecwid-useful-tools/functions.php on line 83

    Commenting out the functions.php lines removed those errors however not sure to do about line 655 which I think is causing the crash.

    I don't use and JS/CSS minify plugins, but my theme code is minified…not sure that would cause any problems though.

    Thanks for your help.

  7. makfruit
    Posted 2 years ago #

    Thank you for the details. We're investigating the issue at the moment. Can you please also provide a link to your store? Thanks.

  8. whatachamp
    Posted 2 years ago #

    Hi makfruit, one of my sites running these plugins is http://cleansewithbenefits.com.au - however on this site I have rolled back the ecwid plugin to v1.8.1 so you won't see the error.

  9. makfruit
    Posted 2 years ago #

    Thank you. We'll look into this. I also informed Product Advisor plugin authors of the issue - the issue could be on their side.

    I will keep you informed.

  10. makfruit
    Posted 2 years ago #

    It seems like there is indeed a bug in the Product Advisor plugin. Please see:

    We informed its developers of the issue as well so they will hopefully fix it soon. Meanwhile we recommend disabling the Product Advisor plugin your WP admin backend.

    As to the warning messages your discovered (the ones starting with 'Notice'), they are not exactly errors, rather are they reminders for a developer to correct some syntax or any other issues in the code. They shouldn't affect any functionality. Anyway, we will of course fix them. Thank you.

  11. whatachamp
    Posted 2 years ago #

    Ecwid product advisor have released an update - I updated both Product Advisor and Ecwid shopping cart and site is working fine again.

  12. makfruit
    Posted 2 years ago #

    Thank you for the update. Indeed, they reported that the issue has been fixed. Everything should work OK now.

  13. Ecwid
    Plugin Author

    Posted 2 years ago #

    (marked as resolved)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Ecwid Ecommerce Shopping Cart
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic