Support » Plugin: WooCommerce Blocks » Latest update broke wp site: Javascript ReferenceError: _ is not defined

  • Resolved wkeithgardner

    (@wkeithgardner)


    WooCommerce Blocks v2.2.1 latest update broke WordPress website. WordPress theme Sliders and WooCommerce product images may not appear because of Javascript errors in the Javascript console:

    ReferenceError: _ is not defined
    ReferenceError: moment is not defined
    ReferenceError: wp is not defined
    ReferenceError: wp is not defined
    ReferenceError: wp is not defined
    ReferenceError: wp is not defined
    ReferenceError: wp is not defined
    ReferenceError: wp is not defined
    ReferenceError: o is not defined

    Deactivating or deleting WooCommerce Blocks fixes the errors. Most people probably don’t use the features and definitely do not need it.

    I am posting here in hopes it will help people searching to resolve problems with the latest update on 7/4/2019 July 2019 breaking WordPress website.

    • This topic was modified 7 months, 2 weeks ago by wkeithgardner.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Albert Juhé Lluveras

    (@aljullu)

    @wkeithgardner thanks for your report. Are you using some plugin that aggregates or minifies JS files like Autoptimize or Fast Velocity Minify? If that’s the case, you should add js/dist to the list of excluded JS files.

    Plugin Support grigaswp

    (@grigaswp)

    Hi there,

    We haven’t heard from you in a while so I’ll be marking this thread as resolved.

    Feel free to open a new thread and link to this one if you have further questions though.

    Have a wonderful day ahead!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Latest update broke wp site: Javascript ReferenceError: _ is not defined’ is closed to new replies.