Title: jQuery Uncaught ReferenceError
Last modified: February 14, 2023

---

# jQuery Uncaught ReferenceError

 *  Resolved [WP CMS Ninja](https://wordpress.org/support/users/billiardgreg/)
 * (@billiardgreg)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/jquery-uncaught-referenceerror/)
 * From what I can see your plugin is attempting to fire even on pages that are 
   not needing it to.
 *     ```wp-block-code
       jQuery.Deferred exception: adminCategorySearch is not defined ReferenceError: adminCategorySearch is not defined
           at HTMLDocument.<anonymous> (https://www.domain.com/wp-admin/edit.php?post_type=product:4623:4)
           at e (https://www.domain.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1.1:2:30038)
           at t (https://www.domain.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1.1:2:30340) undefined
       S.Deferred.exceptionHook @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1.1:2
       load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1.1:2 Uncaught ReferenceError: adminCategorySearch is not defined
           at HTMLDocument.<anonymous> (edit.php:4623:4)
           at e (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1.1:2:30038)
           at t (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1.1:2:30340)
       ```
   
 * Sometimes javscript errors can cause unforeseen consequences with other javascript
   attempting to run.

Viewing 1 replies (of 1 total)

 *  Plugin Author [atillaordog](https://wordpress.org/support/users/atillaordog/)
 * (@atillaordog)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/jquery-uncaught-referenceerror/#post-16722919)
 * Resolved this with the latest changes

Viewing 1 replies (of 1 total)

The topic ‘jQuery Uncaught ReferenceError’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/admin-category-search.svg)
 * [WP Admin Category Search](https://wordpress.org/plugins/admin-category-search/)
 * [Support Threads](https://wordpress.org/support/plugin/admin-category-search/)
 * [Active Topics](https://wordpress.org/support/plugin/admin-category-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admin-category-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admin-category-search/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [atillaordog](https://wordpress.org/support/users/atillaordog/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/jquery-uncaught-referenceerror/#post-16722919)
 * Status: resolved