Title: Error: has no method &#039;curCSS&#039;
Last modified: August 20, 2016

---

# Error: has no method 'curCSS'

 *  [Bas Middelham](https://wordpress.org/support/users/distopicus/)
 * (@distopicus)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/error-has-no-method-curcss/)
 * I created a tags field in my forms and this field used to pre-populate with existing
   terms when the first letter was typed in using autocomplete. It no longer does
   this after an update. You can see here: [http://www.collagenetwerk.nl/inschrijven/](http://www.collagenetwerk.nl/inschrijven/)(
   The field near the bottom called ‘Vaardigheden’ bellow ‘Extra’). Typing in the
   letter ‘c’ which has an existing term ‘communication’ results in the error:
 * `Uncaught TypeError: Object function (e,t){return new v.fn.init(e,t,n)} has no
   method 'curCSS'`
 * typing ‘q’ which has no existing term gives no error. I have tried a clean install
   with the same result.
 * What could be the problem?
    Any help would be greatly appreciated
 * [http://wordpress.org/extend/plugins/gravity-forms-custom-post-types/](http://wordpress.org/extend/plugins/gravity-forms-custom-post-types/)

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

 *  Thread Starter [Bas Middelham](https://wordpress.org/support/users/distopicus/)
 * (@distopicus)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/error-has-no-method-curcss/#post-3553651)
 * The curCSS method had been deprecated since jquery 1.8.0 so the plugin should
   be updated to work with the latest version. I fixed it by loading version 1.7.2
   using this script in functions.php
 *     ```
       if( !is_admin() ) {
           wp_deregister_script('jquery');
           wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"), false, '1.7.2', false);
           wp_enqueue_script('jquery');
       }
       ```
   
 *  [Remco Tolsma](https://wordpress.org/support/users/remcotolsma/)
 * (@remcotolsma)
 * [13 years ago](https://wordpress.org/support/topic/error-has-no-method-curcss/#post-3553910)
 * You can also fix this by downloading the following jQuery UI:
    [http://jqueryui.com/download/#!version=1.10.3&themeParams=none&components=1111000000100010000000000000000000](http://jqueryui.com/download/#!version=1.10.3&themeParams=none&components=1111000000100010000000000000000000)
 * Or directly via the following Gist:
    [https://gist.github.com/remcotolsma/5531421](https://gist.github.com/remcotolsma/5531421)
 * And adjust line 152 in ‘gfcptaddonbase.php’ to:
    [http://plugins.trac.wordpress.org/browser/gravity-forms-custom-post-types/tags/3.0.1/gfcptaddonbase.php#L152](http://plugins.trac.wordpress.org/browser/gravity-forms-custom-post-types/tags/3.0.1/gfcptaddonbase.php#L152)
 *     ```
       wp_register_script(
               $handle = 'gfcpt_jquery_ui',
               $src = plugins_url( 'js/jquery-ui-1.10.3.custom.min.js' , __FILE__ ),
               $deps = array('jquery'),
               $version = '1.10.3' );
       ```
   
 * I hope the developers will soon launch an update with this fix.
 *  [etellewyn](https://wordpress.org/support/users/etellewyn/)
 * (@etellewyn)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-has-no-method-curcss/#post-3553925)
 * In case anyone else is having this issue, I just wanted to confirm that the above
   fix (uploading jqueryUI and changing line 152) solves this issue for me.
 * Thanks so much for this fix! You just saved me a ton of time.

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

The topic ‘Error: has no method 'curCSS'’ is closed to new replies.

 * ![](https://ps.w.org/gravity-forms-custom-post-types/assets/icon-256x256.png?
   rev=2542252)
 * [Gravity Forms + Custom Post Types](https://wordpress.org/plugins/gravity-forms-custom-post-types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-custom-post-types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-custom-post-types/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-custom-post-types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-custom-post-types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-custom-post-types/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [etellewyn](https://wordpress.org/support/users/etellewyn/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/error-has-no-method-curcss/#post-3553925)
 * Status: not resolved