Support » Plugin: Enable jQuery Migrate Helper » Error 400 with admin-ajax.php

  • Hi. When I enable this plugin I got 400 error for admin-ajax.php ;
    In chrome console it shows error in this lines:

    (index):303 POST https://sample.com/wp-admin/admin-ajax.php 400
    window.onerror @ (index):303
    error (async)
    (anonymous) @ (index):277

    window.onerror = function( msg, url, line, col, error )
    and
    xhr.send( encodeURI( 'action=jquery-migrate-downgrade-version&_wpnonce=' + nonce + '&msg=' + msg ) );

    • This topic was modified 2 months, 2 weeks ago by porseshgar.
    • This topic was modified 2 months, 2 weeks ago by porseshgar.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Same here…!

    Plugin Author Marius L. J.

    (@clorith)

    Hiya,

    That’s interesting, that would indicate that the AJAX endpoint wasn’t found, do you have any plugins that change the load order, or maybe something that interacts with ajax requests in general?

    My issues have just been resolved, a plugin was causing the issues – but I haven’t tested with the helper plugin since there is no reason to enforce compatibility any more 🙂

    Thanks for your plugin anyways & appreciate the efforts! I have it active on a couple of sites, still need to fix those deprecations…

    Plugin Author Marius L. J.

    (@clorith)

    Do you mind me asking which plugin caused the conflict? Might be something we should account for to ensure expected plugin behavior on our side

    Sure thing, but it won’t be too helpful since it’s a premium plugin and rather ‘niche’: https://coderockz.com/downloads/woocommerce-delivery-date-time-wordpress-plugin/

    Thread Starter porseshgar

    (@porseshgar)

    I have problem with more than one plugin and I can’t deactivate all of them;
    the plus addon : multiple admin-ajax.php + error 400
    quform : admin-ajax.php error 400
    Unlimited Elementor Inner Sections By TaspriStudio : multiple admin-ajax.php + error 400
    uSchema – Ultimate Schema for WordPress : multiple admin-ajax.php + error 400
    Happy Elementor Addons : multiple admin-ajax.php + error 400

    How can I solve the issues?
    Should I contact plugin developers?
    {I have to mention that my site works fine with Test jQuery Updates plugin;}

    Plugin Author Marius L. J.

    (@clorith)

    Yes, you should definitely reach out to the plugin authors if their plugins are causing something basic like ajax calls to break 🙂

    Thread Starter porseshgar

    (@porseshgar)

    Thank you @clorith
    But I think there is something wrong with Enable jQuery Migrate Helper ;
    Because when I test it with Test jQuery Updates our site works perfectly and without any issue.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.