Title: Ecwid 6.7.2 Uncaught ReferenceError
Last modified: May 28, 2019

---

# Ecwid 6.7.2 Uncaught ReferenceError

 *  Resolved [Rian](https://wordpress.org/support/users/rianmurnen/)
 * (@rianmurnen)
 * [7 years ago](https://wordpress.org/support/topic/ecwid-6-7-2-uncaught-referenceerror/)
 * **Issue**
 * Upgrading Ecwid plugin from 6.7.1 to 6.7.2 results in JS error that prevents 
   other plugins correctly displaying non-Ecwid page content.
 * **Versions**
    - Ecwid Ecommerce Shopping Cart 6.7.2
    - WordPress 5.2.1
 * **Experience**
    1.  WordPress and all plugins up-to-date for several days without issue.
    2.  Update Ecwid to 6.7.2
    3.  Clear server cache
    4.  Clear browser cache
    5.  Visit front-page of site and none of the background-images load.
    6.  The font-page is _not_ an Ecwid page.
    7.  The missing images aren’t listed in the Network Panel as failed resources. 
        They aren’t listed at all.
    8.  An “Uncaught ReferenceError: is logged to the browser console.
    9.  The reference error occurs in multiple browsers (current releases).
    10. Restoring from backup to rollback plugin to 6.7.1 fixes issue.
 * **Logs**
 * The Console logs is for `frontend.js?ver=6.7.2:42`
 *     ```
       Uncaught ReferenceError: Ecwid is not defined
           at HTMLDocument.<anonymous> (frontend.js?ver=6.7.2:42)
           at i (jquery.js?ver=1.12.4-wp:2)
           at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
           at Function.ready (jquery.js?ver=1.12.4-wp:2)
           at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
       ```
   
 * The corresponding source is (ln 42 – 45):
 *     ```
       Ecwid.OnAPILoaded.add(function() {
           var font = window.ec.config.chameleonDefaults.font['font-family'] || '';
           document.cookie = "ec_store_chameleon_font=" + font;
       });
       ```
   
    -  This topic was modified 7 years ago by [Rian](https://wordpress.org/support/users/rianmurnen/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [SLPOnline](https://wordpress.org/support/users/techtriad/)
 * (@techtriad)
 * [7 years ago](https://wordpress.org/support/topic/ecwid-6-7-2-uncaught-referenceerror/#post-11581635)
 * We had the same issue on our in-development site. We had to deactivate the plugin
   but there’s no update on this WordPress.org page OR on their own website (well,
   not one I could find). Would appreciate an update when this is fixed and tested
   and re-issued.
 *  [charmmedia](https://wordpress.org/support/users/charmmedia/)
 * (@charmmedia)
 * [7 years ago](https://wordpress.org/support/topic/ecwid-6-7-2-uncaught-referenceerror/#post-11581839)
 * I had the same issue. Update caused background images and videos not to load,
   and then I got the new WP “white screen of death” (This site is experiencing 
   technical difficulties) and had to log in via recovery mode. Like an idiot I 
   did this on a live production site.
 * This was the message I got from WP:
 * Error Details
    ============= An error of type E_PARSE was caused in line 56 of
   the file /home/xxxxxxxxx/public_html/wp-content/plugins/ecwid-shopping-cart/includes/
   class-ecwid-product-browser.php. Error message: syntax error, unexpected end 
   of file, expecting ‘)’
 *  Thread Starter [Rian](https://wordpress.org/support/users/rianmurnen/)
 * (@rianmurnen)
 * [7 years ago](https://wordpress.org/support/topic/ecwid-6-7-2-uncaught-referenceerror/#post-11581840)
 * **Resolution**
 * Plugin author released a new version — 6.7.3 — in the last hour. It appears to
   resolve the JS error and related visual issue with images.
    -  This reply was modified 7 years ago by [Rian](https://wordpress.org/support/users/rianmurnen/).
 *  [SLPOnline](https://wordpress.org/support/users/techtriad/)
 * (@techtriad)
 * [7 years ago](https://wordpress.org/support/topic/ecwid-6-7-2-uncaught-referenceerror/#post-11581847)
 * Thanks, [@rianmurnen](https://wordpress.org/support/users/rianmurnen/). I had
   a tweet out to Ecwid, got no response and there’s nothing on their Twitter feed
   about this (let alone their website). I’m glad they fixed it but I wouldn’t have
   known except that you told us. Saved us a lot of work, thanks again.
 *  Plugin Support [ecwid_team](https://wordpress.org/support/users/ecwid_team/)
 * (@ecwid_team)
 * [7 years ago](https://wordpress.org/support/topic/ecwid-6-7-2-uncaught-referenceerror/#post-11582925)
 * Hi there,
 * It’s Pixie from Ecwid Customer Care Team.
 * We are terribly sorry about the issue you faced and such a long response time
   here.
 * Please, let me explain what happened—this was a scheduled update of our plugin
   which went a little wrong, as a result our version of the plugin 6.7.2 caused
   the issue with WordPress pages. We resolved this issue some time later and the
   new version of the plugin (6.7.3) has been released. To fix the issue, please,
   update the plugin in your WordPress admin panel > Plugins > find Ecwid and click“
   Update”. You can also download the latest version here: [https://wordpress.org/plugins/ecwid-shopping-cart/](https://wordpress.org/plugins/ecwid-shopping-cart/)
 * We are really sorry for the delayed reply here. We posted all the updates on 
   our official status page here: [https://status.ecwid.com/](https://status.ecwid.com/)
   and totally forgot to update this WP thread. It’s totally our fault, shame on
   us, really. We’ll make sure that it won’t happen again. Hope that you can forgive
   us for that.
 * Please, keep in mind that you can always contact our Support team directly via
   live chat here: [https://support.ecwid.com/hc/en-us/requests/new](https://support.ecwid.com/hc/en-us/requests/new)
   or email us at [support@ecwid.com](https://wordpress.org/support/topic/ecwid-6-7-2-uncaught-referenceerror/support@ecwid.com?output_format=md).
   If you face any difficulties with your Ecwid plugin, just let us know—we’ll do
   our best to sort everything out.
 * Again, we’re truly sorry both about the issue and the silence regarding this.
   
   Thank you for your understanding.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Ecwid 6.7.2 Uncaught ReferenceError’ is closed to new replies.

 * ![](https://ps.w.org/ecwid-shopping-cart/assets/icon.svg?rev=3110860)
 * [Ecwid by Lightspeed Ecommerce Shopping Cart](https://wordpress.org/plugins/ecwid-shopping-cart/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ecwid-shopping-cart/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ecwid-shopping-cart/)
 * [Active Topics](https://wordpress.org/support/plugin/ecwid-shopping-cart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ecwid-shopping-cart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ecwid-shopping-cart/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [ecwid_team](https://wordpress.org/support/users/ecwid_team/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/ecwid-6-7-2-uncaught-referenceerror/#post-11582925)
 * Status: resolved