• Resolved pfm

    (@pfm)


    I use the Plugin the first time. Tried to find explanations but can’t find it.

    On my main page the plugin tells me there is a broken dependency.
    script: jquery
    dependancy: jquery-core | jquery-migrate
    dependant: several….

    The next line list the two above (shown in black): jquery-core | jquery-migrate

    jquery.js is located in wp-includes/js/jquery/
    jquery-migrate.min.js (and without min) as well

    jquery-core (in the next line read like this):
    /wp-includes/js/jquery/jquery.js

    There is no file jquery-core.js in the above folder.

    Does this mean the jquery-core.js is missing?

    Thank you for your help!

    The page I need help with: [log in to see the link]

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

    (@johnbillion)

    WordPress Core Developer

    Hmm something is not right with jQuery on your site, but I’m not sure what exactly.

    Your best bet is to try switching to one of the default themes such as Twenty Seventeen and see if the error disappears. If so, you should contact the author of your theme and let them know about the problem.

    Alternatively, the problem might lie with one of your plugins. Try deactivating each of them one by one to see if the error disappears.

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Feel free to post a screenshot of the appropriate section of Query Monitor here and I might be able to give you some more help.

    Thread Starter pfm

    (@pfm)

    Don’t see an upload here.

    Here is a link to a screenshot: Dependencies jquery

    The blog is based on a child theme to twentytwelve I did myself quite a while ago. There might be some plugins causing this, but I to disable all of them might disturb my readers and I don’t have a dev copy yet. So it would be helpfull to find the cause of the problem and I might be able to change only that part.

    Thread Starter pfm

    (@pfm)

    On the preview with other Themes, Query Monitor showed the same error.

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks for the screenshot. From that, I can’t tell why QM is highlighting jquery as having a broken dependency. It might be a bug in QM, or it might be that a plugin is doing something that QM hasn’t accounted for.

    Are you able to send over a list of all the plugins that are active on the site?

    Thread Starter pfm

    (@pfm)

    Here ist the list:
    Advanced WPLink
    All in one Favicon
    All in One SEO Pack
    amr event lists with ical files
    Antispam Bee
    Better WordPress Minify
    Broken Link Checker
    Captcha
    Contextual Related Posts
    Cookie Notice
    GTranslate
    MailPoet 2
    NextScripts: Social Networks Auto-Poster
    Perfect Pullquotes
    Query Monitor
    Rename wp-login.php
    TablePress
    TablePress Extension: DataTables Automatic Filtering
    TablePress Extension: Shortcode Filter from GET parameter
    TinyMCE Advanced
    UpdraftPlus – Backup/Restore
    WordPress HTTPS
    WordPress Popular Posts
    WP Google Maps
    WP Google Maps – Gold Add-on
    WP Google Maps – Pro Add-on
    WP Photo Album Plus
    WP-Piwik

    Thread Starter pfm

    (@pfm)

    I did deactivate the three listed ones. One by one, deactivate, QM again, activate again.

    These were:
    – WPPA (WP Photo Album Plus)
    – Mailpoet 2 (that’s the wysija-*)
    – Cookie Notice

    Problem was still existing.

    The reason might not be the Theme either as I did change it a few days ago. Problem existed with the old Theme.

    I know there is something weird in my installation and QM was my hope to find it.

    Two more “problems” that might be involved in the same reason:
    – the build in editor jumps to the end of the page if I try to add a link
    – the plugin update never comes back on its own (admin page, not the one in installed plugins – that is fine)

    BTW: Switching off heartbeat gives an error as well (admin pages, wp-auth-check)

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Can you try deactivating the “Better WordPress Minify” plugin to see if the issue disappears? From your list, that’s the only one that looks like it could cause a problem.

    Thread Starter pfm

    (@pfm)

    Good guess! You are correct. Disabling BWM did resolve the problem. But at the end is not a final solution. I did try to exclude some of the JS from the minify process (there is a exclude option per file). I did try with those:

    jquery-core
    jquery-migrate
    jquery-form
    query-monitor

    But this did not help. Is there any way I can find out with QM which one(s) to exclude? I did try some other plugins that did not give me the best solution (and other problems) as well.

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks, I’ll see if I can find some time to check it out and find out whether the bug is in QM or in that plugin.

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    For now, I think it’s safe to ignore the error that QM shows you.

    Thread Starter pfm

    (@pfm)

    Stop research. It was a problem in the Plugin (or my kind of configuration I did). After using another one for Minify JS and CSS everything works fine – no more errors.

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

The topic ‘Broken Dependencies – jquery // jquery-core | jquery-migrate’ is closed to new replies.