Support » Plugin: Query Monitor » Errors show up today

  • Resolved lilbunny

    (@lilbunny)


    Plugin has worked great for a couple weeks. Today every page in the admin (and front) takes a long time to load, and scrolls forever with query monitor output. This red error appears above the Query Monitor output if I scroll far enough.

    “A JavaScript problem on the page is preventing Query Monitor from working correctly. jQuery may have been blocked from loading.”

    Just not sure why today all of sudden?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks for the report. A new version of QM was released yesterday but it sounds like something in your site is causing it to break.

    Is there a plugin or theme active on your site which is changing the way that jQuery loads?

    mqudsi

    (@computerguru)

    Same problem here. jQuery-core is loaded fine in the same page’s source:

    <script type='text/javascript' src='https://neosmart.net/blog/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils&ver=4.9.5'></script>

    and window.jQuery is defined and working properly.

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks. It looks like I need to improve the way that QM’s fallback behaviour works when it thinks that jQuery isn’t available.

    mqudsi

    (@computerguru)

    Hi John,

    It was actually a cache issue. A hard reload took care of it.

    Thanks for your awesome work. It’s helped me provide feedback to literally dozens of popular plugins about bad query plans, lack of caching, needless script loading, and more.

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks for the update!

    I’m still going to make the jQuery fallback handling better to improve this further.

    Hi John,

    I’m getting this same error at the bottom (footer) of my webpage. I recently updated a bunch of plugins so I have no idea what is causing this.

    Ashish

    (@ashishpatel1992)

    2 days ago I installed the plugin and was working fine. Suddenly today I started getting error in Query Monitor console
    A JavaScript problem on the page is preventing Query Monitor from working correctly. jQuery may have been blocked from loading.
    It’s partially working.
    In my website code, jquery is still on top. I also tried to add async to jquery but that too doesnt help.

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    This should be fixed in 3.0.1

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Errors show up today’ is closed to new replies.