Title: ajax problem on admin
Last modified: February 27, 2019

---

# ajax problem on admin

 *  [simonetat](https://wordpress.org/support/users/simonetat/)
 * (@simonetat)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/ajax-problem-on-admin/)
 * i have a problem in all the pages of wp-admin all the ajax function dont work
   
   and i see that error:
 * Uncaught TypeError: $ is not a function
    at i (admin.min.js?ver=3.5.0:1) at HTMLDocument.
   <anonymous> (admin.min.js?ver=3.5.0:1) at i (load-scripts.php?c=0&load[]=jquery-
   core,jquery-migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:
   2) at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,
   jquery-migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:2)
   at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,
   moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:2) at HTMLDocument.K (load-
   scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=
   7b9880cd1e11918ec57438b938b25319:2) 3wp-auth-check.min.js?ver=7b9880cd1e11918ec57438b938b25319:
   1 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined at HTMLDocument.
   <anonymous> (wp-auth-check.min.js?ver=7b9880cd1e11918ec57438b938b25319:1) at 
   HTMLDocument.dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,
   utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:3) at HTMLDocument.
   r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,
   plupload&ver=7b9880cd1e11918ec57438b938b25319:3) at Object.trigger (load-scripts.
   php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:
   3) at Object.a.event.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-
   migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:8) at HTMLDocument.
   <anonymous> (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,
   plupload&ver=7b9880cd1e11918ec57438b938b25319:3) at Function.each (load-scripts.
   php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:
   2) at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,
   utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:2) at a.fn.init.trigger(
   load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&
   ver=7b9880cd1e11918ec57438b938b25319:3) at Object.<anonymous> (heartbeat.min.
   js?ver=7b9880cd1e11918ec57438b938b25319:1) wp-auth-check.min.js?ver=7b9880cd1e11918ec57438b938b25319:
   1 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined at HTMLDocument.
   <anonymous> (wp-auth-check.min.js?ver=7b9880cd1e11918ec57438b938b25319:1) at 
   HTMLDocument.dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,
   utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:3) at HTMLDocument.
   r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,
   plupload&ver=7b9880cd1e11918ec57438b938b25319:3) at Object.trigger (load-scripts.
   php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:
   3) at Object.a.event.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-
   migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:8) at HTMLDocument.
   <anonymous> (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,
   plupload&ver=7b9880cd1e11918ec57438b938b25319:3) at Function.each (load-scripts.
   php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:
   2) at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,
   utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:2) at a.fn.init.trigger(
   load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&
   ver=7b9880cd1e11918ec57438b938b25319:3) at Object.<anonymous> (heartbeat.min.
   js?ver=7b9880cd1e11918ec57438b938b25319:1) (anonymous) @ wp-auth-check.min.js?
   ver=7b9880cd1e11918ec57438b938b25319:1 dispatch @ load-scripts.php?c=0&load[]
   =jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:
   3 r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,
   plupload&ver=7b9880cd1e11918ec57438b938b25319:3 trigger @ load-scripts.php?c=
   0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:
   3 a.event.trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,
   moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:8 (anonymous) @ load-scripts.
   php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:
   3 each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,
   plupload&ver=7b9880cd1e11918ec57438b938b25319:2 each @ load-scripts.php?c=0&load[]
   =jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:
   2 trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,
   plupload&ver=7b9880cd1e11918ec57438b938b25319:3 (anonymous) @ heartbeat.min.js?
   ver=7b9880cd1e11918ec57438b938b25319:1 i @ load-scripts.php?c=0&load[]=jquery-
   core,jquery-migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:
   2 fireWith @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,
   plupload&ver=7b9880cd1e11918ec57438b938b25319:2 y @ load-scripts.php?c=0&load[]
   =jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:
   4 c @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&
   ver=7b9880cd1e11918ec57438b938b25319:4 XMLHttpRequest.send (async) send @ load-
   scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=
   7b9880cd1e11918ec57438b938b25319:4 ajax @ load-scripts.php?c=0&load[]=jquery-
   core,jquery-migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:
   4 j @ heartbeat.min.js?ver=7b9880cd1e11918ec57438b938b25319:1 (anonymous) @ heartbeat.
   min.js?ver=7b9880cd1e11918ec57438b938b25319:1 setTimeout (async) k @ heartbeat.
   min.js?ver=7b9880cd1e11918ec57438b938b25319:1 m @ heartbeat.min.js?ver=7b9880cd1e11918ec57438b938b25319:
   1 n @ heartbeat.min.js?ver=7b9880cd1e11918ec57438b938b25319:1 (anonymous) @ heartbeat.
   min.js?ver=7b9880cd1e11918ec57438b938b25319:1 dispatch @ load-scripts.php?c=0&
   load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:
   3 r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,
   plupload&ver=7b9880cd1e11918ec57438b938b25319:3 wp-auth-check.min.js?ver=7b9880cd1e11918ec57438b938b25319:
   1 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined at HTMLDocument.
   <anonymous> (wp-auth-check.min.js?ver=7b9880cd1e11918ec57438b938b25319:1) at 
   HTMLDocument.dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,
   utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:3) at HTMLDocument.
   r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,
   plupload&ver=7b9880cd1e11918ec57438b938b25319:3) at Object.trigger (load-scripts.
   php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:
   3) at Object.a.event.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-
   migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:8) at HTMLDocument.
   <anonymous> (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,
   plupload&ver=7b9880cd1e11918ec57438b938b25319:3) at Function.each (load-scripts.
   php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:
   2) at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,
   utils,moxiejs,plupload&ver=7b9880cd1e11918ec57438b938b25319:2) at a.fn.init.trigger(
   load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&
   ver=7b9880cd1e11918ec57438b938b25319:3) at Object.<anonymous> (heartbeat.min.
   js?ver=7b9880cd1e11918ec57438b938b25319:1)
 * thanx for your time
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fajax-problem-on-admin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Kartik Shukla](https://wordpress.org/support/users/kartiks16/)
 * (@kartiks16)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/ajax-problem-on-admin/#post-11253458)
 * Hello simonetat,
 * Maybe a plugin or theme conflict. Please attempt to disable all plugins, and 
   use one of the default (Twenty*) themes. If the problem goes away, enable them
   one by one to identify the source of your troubles.
 * Thanks,
    Kartik
 *  Thread Starter [simonetat](https://wordpress.org/support/users/simonetat/)
 * (@simonetat)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/ajax-problem-on-admin/#post-11253468)
 * ok i’m trying but i dont add plugin since weeks
    is it possible the new wp verision?
 *  [Kartik Shukla](https://wordpress.org/support/users/kartiks16/)
 * (@kartiks16)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/ajax-problem-on-admin/#post-11253479)
 * Hey simonetat,
 * I understand, but plugins might have been updated and might be the WP version
   you are using may not be compatible, so that can create the issue.
 * Give it a try and see if it helps.
 * Thanks.
 *  Thread Starter [simonetat](https://wordpress.org/support/users/simonetat/)
 * (@simonetat)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/ajax-problem-on-admin/#post-11253499)
 * right is there a conflict with Social Warfare
    thanx
 *  [Kartik Shukla](https://wordpress.org/support/users/kartiks16/)
 * (@kartiks16)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/ajax-problem-on-admin/#post-11253536)
 * Happy to Help simonetat!
 * Feel free to ask if you have any further questions or you can mark it as closed/
   resolved.
 * Thanks.

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

The topic ‘ajax problem on admin’ is closed to new replies.

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [ajax](https://wordpress.org/support/topic-tag/ajax/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [Kartik Shukla](https://wordpress.org/support/users/kartiks16/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/ajax-problem-on-admin/#post-11253536)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
