• mitgiselle

    (@mitgiselle)


    When logged in as admin I’ve got the JS error (on public pages):

    Uncaught TypeError: Cannot read property ‘length’ of undefined
    File: enable-jquery-migrate-helper/js/deprecation-notice.js
    line 119:
    if (warnings.length ) {

    Fixed by:
    if (warnings && warnings.length ) {

    • This topic was modified 4 years ago by mitgiselle.
    • This topic was modified 4 years ago by mitgiselle.
Viewing 6 replies - 1 through 6 (of 6 total)
  • getbsm

    (@getbsm)

    I get the same

    sebmeric

    (@sebmeric)

    same here too…

    Plugin Author Marius L. J.

    (@clorith)

    Hmm, that’s odd, it should be there regardless, do you use some kind of asset caches (for example plugins to minify JavaScript and/or CSS) or similar?

    This notice would show up if the Migrate script has not been loaded yet, but it is defined as a dependency so it should always exist by the time this plugins code runs ??

    (We could add that check to it to prevent errors, but it would also be good to understand the underlying reason for why the data is missing)

    bshhun

    (@bshhun)

    I get the same, no caching, minifying plugin.

    shreyagokani

    (@shreyagokani)

    Is there any solution for this? I can’t enable this plugin on my site because of the error and wpbakery page builder is not loading without it.
    if (warnings && warnings.length ) {
    This didn’t work.

    inovagora

    (@inovagora)

    Hello,
    Same problem here, this is stopping JS execution and interfering with other functionalities (in my case Gravity Forms forms don’t show up anymore on frontend when i’m connected as admin).
    Can you please fix with the OP solution ?
    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘JS error’ is closed to new replies.