• After page load, when i check console am getting below warning.
    JQMIGRATE: jQuery.fn.load() is deprecated (location: wp-includes/js/jquery/jquery-migrate.js?ver=1.4.1)

    How i can solve this because its in wp-include so we can’t do anything right.
    Why i trying to solve this issue is, when adding google analytics script in my header, my user login page is not working after i add script. There is 2 type of user login is there. After i try to login, its redirecting to profile but session of user is not set. Still showing as user login , the other type user redirecting to wp-admin. When we remove analytics script functionalities are perfect.So Google analytic team told to resolve console errors.
    This is my console warning related Javascript

    https://43o.f42.myftpupload.com/wp-content/uploads/console-issue.png

    • This topic was modified 5 years, 1 month ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The is isn’t with the jQuery-migrate file, it will be with a file in your theme or a plugin, it only shows as jQuery-migrate as you are combining JS files (the error actually shows as 1540142.js). Turn off WP Rocket and then run it again, it should give you a better idea of what file is causing the issue.

    Thread Starter neethuanna03rocket

    (@neethuanna03rocket)

    Yes i checked that way. And resolved warning, that i got in console. The also when i add analytics script , my user login not working well. The below script facing problem
    <script async src=”https://www.googletagmanager.com/gtag/js?id=UA-XXXXXX-X”></script&gt; (with actual container ID)
    I tried the way like integrate analytics using tag manager and that case also same problem for user login

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting jquery warning’ is closed to new replies.