Title: Jquery error
Last modified: June 23, 2020

---

# Jquery error

 *  Resolved [Lucas Hero](https://wordpress.org/support/users/liradetamiris/)
 * (@liradetamiris)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/jquery-error-78/)
 * Hi,
 * I have been getting this error:
 * jquery.usp.core.js?ver=20200320:196 Uncaught TypeError: $(…).chosen is not a 
   function
    at HTMLDocument.<anonymous> (jquery.usp.core.js?ver=20200320:196) at
   i (jquery.js?ver=1.12.4-wp:2) at Object.fireWith [as resolveWith] (jquery.js?
   ver=1.12.4-wp:2) at Function.ready (jquery.js?ver=1.12.4-wp:2) at HTMLDocument.
   J (jquery.js?ver=1.12.4-wp:2) (anonymous) @ jquery.usp.core.js?ver=20200320:196
   i @ jquery.js?ver=1.12.4-wp:2 fireWith @ jquery.js?ver=1.12.4-wp:2 ready @ jquery.
   js?ver=1.12.4-wp:2 J @ jquery.js?ver=1.12.4-wp:2
 * Any ideais on how to fix it?
 * Thanks,
 * -LH
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjquery-error-78%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/jquery-error-78/#post-13027574)
 * This has been reported before, but I am unable to find the cause of the issue.
   The best I can recommend is to make sure that JavaScript is enabled, jQuery is
   included on the page, and then try disabling either/both the Category and/or 
   Tag fields and try again. Please let me know if you discover any clues, as I 
   am still in the process of trying to resolve this issue.
 *  Thread Starter [Lucas Hero](https://wordpress.org/support/users/liradetamiris/)
 * (@liradetamiris)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/jquery-error-78/#post-13029545)
 * Hi, Jeff,
 * Thanks for your answer.
    I am going to test and let you know.
 *  Thread Starter [Lucas Hero](https://wordpress.org/support/users/liradetamiris/)
 * (@liradetamiris)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/jquery-error-78/#post-13034984)
 * Hi Jeff,
 * I kept enabled Category and Tag fields, but disabled the option “use existing
   tags” and that error was gone, the page loads fine and the form works smoothly.
 * Your plugin is awesome, by the way!
 * It is a shame not be able to select from existing tags though. If possible to
   fix it would be perfect.
 * best,
 * -LH
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/jquery-error-78/#post-13035678)
 * Hey thanks, glad you got it all sorted out.
 * For using existing tags, you can enable the option “Use Existing Tags”.
 * Cheers
 *  Thread Starter [Lucas Hero](https://wordpress.org/support/users/liradetamiris/)
 * (@liradetamiris)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/jquery-error-78/#post-13035780)
 * I know, Jeff, but if I enable it the jquery error we are talking about comes 
   back.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/jquery-error-78/#post-13035989)
 * Which version of the plugin are you using?
 *  Thread Starter [Lucas Hero](https://wordpress.org/support/users/liradetamiris/)
 * (@liradetamiris)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/jquery-error-78/#post-13037584)
 * Versão 20200320
    as well as WordPress most recent one, v 5.4.2
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/jquery-error-78/#post-13040238)
 * Thanks. It definitely looks like a bug with the fancy tag field. Can you try 
   a test, add the following code snippet to the plugin setting, “Custom Content”:
 * `<script>var usp_disable_chosen = true;</script>`
 * Then save changes and try the fancy select tag field again.
 *  Thread Starter [Lucas Hero](https://wordpress.org/support/users/liradetamiris/)
 * (@liradetamiris)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/jquery-error-78/#post-13043183)
 * Hi, Jeff,
 * that did it, the errors are gone while using the form with the the option “Use
   Existing Tags” enabled.
 * By the way, does the plugin use functionality not present on newer versions of
   jQuery?
    Because the console also shows:
 * `JQMIGRATE: Migrate is installed with logging active, version 1.4.1`
 * Searching the web I found that “WordPress uses the jQuery migrate script to ensure
   backwards compatibility for any plugins using functionality removed from newer
   versions of jQuery”
 * Thanks again for your attention!
 * -LH
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/jquery-error-78/#post-13043533)
 * Great, glad to hear you got it sorted.
 * For this:
 * “does the plugin use functionality not present on newer versions of jQuery?”
 * No not that I know of.
 *  Thread Starter [Lucas Hero](https://wordpress.org/support/users/liradetamiris/)
 * (@liradetamiris)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/jquery-error-78/#post-13043627)
 * Jeff, thank you very much for your kind attention.
 * And once again, the plugin is just awesome!
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/jquery-error-78/#post-13043633)
 * Thank you Lucas! 🙂
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/jquery-error-78/#post-13271706)
 * Just to follow up with this. The reported bug with “Uncaught TypeError: $(…).
   chosen is not a function” is resolved in the next version of USP (20200817). 
   Should be available within a couple of days.

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

The topic ‘Jquery error’ is closed to new replies.

 * ![](https://ps.w.org/user-submitted-posts/assets/icon-256x256.png?rev=2567685)
 * [User Submitted Posts – Enable Users to Submit Posts from the Front End](https://wordpress.org/plugins/user-submitted-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-submitted-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-submitted-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/user-submitted-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-submitted-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-submitted-posts/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/jquery-error-78/#post-13271706)
 * Status: resolved