Title: Getting jquery warning
Last modified: February 19, 2020

---

# Getting jquery warning

 *  [neethuanna03rocket](https://wordpress.org/support/users/neethuanna03rocket/)
 * (@neethuanna03rocket)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/getting-jquery-warning/)
 * 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
 * [http://43o.f42.myftpupload.com/wp-content/uploads/console-issue.png](http://43o.f42.myftpupload.com/wp-content/uploads/console-issue.png)
    -  This topic was modified 6 years, 2 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Developing with WordPress
      topic
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetting-jquery-warning%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [garethgillman](https://wordpress.org/support/users/garethgillman/)
 * (@garethgillman)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/getting-jquery-warning/#post-12454399)
 * 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](https://wordpress.org/support/users/neethuanna03rocket/)
 * (@neethuanna03rocket)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/getting-jquery-warning/#post-12458837)
 * 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](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
    -  This reply was modified 6 years, 2 months ago by [neethuanna03rocket](https://wordpress.org/support/users/neethuanna03rocket/).

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

The topic ‘Getting jquery warning’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [neethuanna03rocket](https://wordpress.org/support/users/neethuanna03rocket/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/getting-jquery-warning/#post-12458837)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
