Title: Error &#8211; jQuery.Deferred exception
Last modified: September 23, 2022

---

# Error – jQuery.Deferred exception

 *  Resolved [jonawayne](https://wordpress.org/support/users/jonawayne/)
 * (@jonawayne)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-jquery-deferred-exception/)
 * Hi, I am not a programmer, but in your most recent plugin update (0.8.8.8), my
   site is having problems when writing titles in fields in the WordPress admin 
   section and I get undefined errors.
 * In a custom search field, I used to be able to write part of a song and the correct
   full song would pop up and I could just select this song, but now I have to write
   the full song in for this to appear as a selection.
 * Here is the error in the Javascript console:
 *     ```
       jquery.min.js:2 jQuery.Deferred exception: this.id.toLowerCase is not a function TypeError: this.id.toLowerCase is not a function
           at Object.<anonymous> (https://www.u2station.com/w-p/wp-content/plugins/acf-extended/assets/js/acfe-input.min.js?ver=0.8.8.8:1:33854)
           at Function.each (https://c0.wp.com/c/6.0.2/wp-includes/js/jquery/jquery.min.js:2:3003)
           at Object.<anonymous> (https://www.u2station.com/w-p/wp-content/plugins/acf-extended/assets/js/acfe-input.min.js?ver=0.8.8.8:1:33813)
           at Function.each (https://c0.wp.com/c/6.0.2/wp-includes/js/jquery/jquery.min.js:2:3003)
           at i.get.e.createTag (https://www.u2station.com/w-p/wp-content/plugins/acf-extended/assets/js/acfe-input.min.js?ver=0.8.8.8:1:33769)
           at e (https://www.u2station.com/w-p/wp-content/plugins/advanced-custom-fields-pro/assets/inc/select2/4/select2.full.min.js?ver=4.0.13:1:38036)
           at Object.<anonymous> (https://www.u2station.com/w-p/wp-content/plugins/advanced-custom-fields-pro/assets/inc/select2/4/select2.full.min.js?ver=4.0.13:1:36926)
           at e (https://c0.wp.com/c/6.0.2/wp-includes/js/jquery/jquery.min.js:2:30038)
           at t (https://c0.wp.com/c/6.0.2/wp-includes/js/jquery/jquery.min.js:2:30340) undefined
       ```
   
 * If you can contact me directly, I will be able to give you my username and password
   to log in. I don’t want to write this here though due to security reasons. Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-jquery-deferred-exception%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * (@hwk-fr)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-jquery-deferred-exception/#post-16039247)
 * Hello,
 * Thanks for the feedback!
 * In fact, there have been some enhancements to the Select2 field in the recent
   patch. Reading the error you shared, I think I know where your issue come from.
 * In order to validate it, can I ask you to export the ACF Field Group which has
   the problematic Select field? So I can test it myself.
 * You can export a Field Group from the “Custom Fields > Tools” menu.
 * Note: If you’re on a production website and really need that Select field to 
   work again, you can safely rollback to the previous 0.8.8.7 version, without 
   any data loss, by simply downloading the old version in the [Advanced tab here](https://wordpress.org/plugins/acf-extended/advanced/),
   in the “Select a specific version to download” section.
 * Thanks in advance and sorry for the inconvenience.
 * Regards.
 *  Thread Starter [jonawayne](https://wordpress.org/support/users/jonawayne/)
 * (@jonawayne)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-jquery-deferred-exception/#post-16039302)
 * Hi Konrad,
 * Yes, I generated the PHP to export the field group for the problematic code (
   under “Setlist”).
 * I hope you can fix my issue. Thanks!
 * Here is the PHP code:
 *     ```
       if( function_exists('acf_add_local_field_group') ):
   
       acf_add_local_field_group(array(
       	'key' => 'group_60b278cc73cad',
       	'title' => 'Setlist',
       	'fields' => array(
       		array(
       			'key' => 'field_60b2790e39d0b',
       			'label' => 'SetlistMeta',
       			'name' => 'setlistmeta',
       			'type' => 'post_object',
       			'instructions' => 'Select tracks for the setlist',
       			'required' => 0,
       			'conditional_logic' => 0,
       			'wrapper' => array(
       				'width' => '',
       				'class' => '',
       				'id' => '',
       			),
       			'acfe_permissions' => '',
       			'post_type' => array(
       				0 => 'track',
       				1 => 'snippet',
       			),
       			'taxonomy' => '',
       			'allow_null' => 0,
       			'multiple' => 1,
       			'return_format' => 'object',
       			'save_custom' => 1,
       			'save_post_type' => 'track',
       			'save_post_status' => 'publish',
       			'acfe_bidirectional' => array(
       				'acfe_bidirectional_enabled' => '0',
       			),
       			'acfe_settings' => '',
       			'acfe_validate' => '',
       			'ui' => 1,
       		),
       		array(
       			'key' => 'field_60b27d03851ad',
       			'label' => 'EncoreMeta',
       			'name' => 'encoremeta',
       			'type' => 'post_object',
       			'instructions' => 'Select tracks for the encore',
       			'required' => 0,
       			'conditional_logic' => 0,
       			'wrapper' => array(
       				'width' => '',
       				'class' => '',
       				'id' => '',
       			),
       			'acfe_permissions' => '',
       			'post_type' => array(
       				0 => 'track',
       				1 => 'snippet',
       			),
       			'taxonomy' => '',
       			'allow_null' => 1,
       			'multiple' => 1,
       			'return_format' => 'object',
       			'save_custom' => 1,
       			'save_post_type' => 'track',
       			'save_post_status' => 'publish',
       			'acfe_bidirectional' => array(
       				'acfe_bidirectional_enabled' => '0',
       			),
       			'acfe_settings' => '',
       			'acfe_validate' => '',
       			'ui' => 1,
       		),
       	),
       	'location' => array(
       		array(
       			array(
       				'param' => 'post_type',
       				'operator' => '==',
       				'value' => 'cpt_event',
       			),
       		),
       		array(
       			array(
       				'param' => 'post_type',
       				'operator' => '==',
       				'value' => 'cpt_discography',
       			),
       		),
       	),
       	'menu_order' => 0,
       	'position' => 'normal',
       	'style' => 'seamless',
       	'label_placement' => 'left',
       	'instruction_placement' => 'label',
       	'hide_on_screen' => array(
       		0 => 'permalink',
       		1 => 'block_editor',
       		2 => 'excerpt',
       		3 => 'comments',
       		4 => 'revisions',
       		5 => 'author',
       		6 => 'format',
       		7 => 'page_attributes',
       		8 => 'categories',
       		9 => 'tags',
       		10 => 'send-trackbacks',
       	),
       	'active' => true,
       	'description' => '',
       	'show_in_rest' => false,
       	'acfe_display_title' => '',
       	'acfe_autosync' => '',
       	'acfe_permissions' => '',
       	'acfe_form' => 1,
       	'acfe_meta' => '',
       	'acfe_note' => '',
       ));
   
       endif;
       ```
   
 *  Thread Starter [jonawayne](https://wordpress.org/support/users/jonawayne/)
 * (@jonawayne)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-jquery-deferred-exception/#post-16039856)
 * There is also another issue I noticed when using your plugin. Without Advanced
   Custom Fields: Extended activated, I can hold and drag each selection in the 
   search field and sort/relocate in a different order, but with the plugin activated,
   this function no longer works anymore. Perhaps you can solve this dilemma for
   me too. Thanks.
 *  Plugin Author [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * (@hwk-fr)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-jquery-deferred-exception/#post-16039894)
 * Hello,
 * Thanks for the details. I found what was causing the issue. I’m marking the issue
   for the upcoming hotfix. In the meantime, you can fix it by yourself by following
   these steps:
    - Download this file: [acfe-fix-post-object-search.zip](https://www.acf-extended.com/hotfix/acfe-fix-post-object-search.zip)
    - Extract all files `acfe-admin.js`, `acfe-admin.min.js`, `acfe-input.js`, `
      acfe-input.min.js` in the folder: `/acf-extended/assets/js/` (make sure to
      overwrite existing files)
    - Visit your admin edit screen and clear your browser cache by pressing `CTRL
      +SHIFT+R`
 * The JS notice should be gone. This will also fix the re-order feature in the 
   Post Object.
 * Thanks again for the report, and sorry for the inconvenience.
 * Have a nice day!
 * Regards.
 *  Thread Starter [jonawayne](https://wordpress.org/support/users/jonawayne/)
 * (@jonawayne)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-jquery-deferred-exception/#post-16040392)
 * Hi, the re-order feature works however the other issue is still there. When writing
   parts of a song, they don’t appear. But it works in the previous version (0.8.8.7).
 * Here’s the latest error I got (with a new issue at the end – exceptionHook):
 *     ```
       jQuery.Deferred exception: this.id.toLowerCase is not a function TypeError: this.id.toLowerCase is not a function
           at Object.<anonymous> (https://www.u2station.com/w-p/wp-content/plugins/acf-extended/assets/js/acfe-input.min.js?ver=0.8.8.8:1:33854)
           at Function.each (https://c0.wp.com/c/6.0.2/wp-includes/js/jquery/jquery.min.js:2:3003)
           at Object.<anonymous> (https://www.u2station.com/w-p/wp-content/plugins/acf-extended/assets/js/acfe-input.min.js?ver=0.8.8.8:1:33813)
           at Function.each (https://c0.wp.com/c/6.0.2/wp-includes/js/jquery/jquery.min.js:2:3003)
           at i.get.e.createTag (https://www.u2station.com/w-p/wp-content/plugins/acf-extended/assets/js/acfe-input.min.js?ver=0.8.8.8:1:33769)
           at e (https://www.u2station.com/w-p/wp-content/plugins/advanced-custom-fields-pro/assets/inc/select2/4/select2.full.min.js?ver=4.0.13:1:38036)
           at Object.<anonymous> (https://www.u2station.com/w-p/wp-content/plugins/advanced-custom-fields-pro/assets/inc/select2/4/select2.full.min.js?ver=4.0.13:1:36926)
           at e (https://c0.wp.com/c/6.0.2/wp-includes/js/jquery/jquery.min.js:2:30038)
           at t (https://c0.wp.com/c/6.0.2/wp-includes/js/jquery/jquery.min.js:2:30340) undefined
       S.Deferred.exceptionHook @ jquery.min.js:2'
       ```
   
    -  This reply was modified 3 years, 8 months ago by [jonawayne](https://wordpress.org/support/users/jonawayne/).
 *  Plugin Author [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * (@hwk-fr)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-jquery-deferred-exception/#post-16040489)
 * Hello!
 * Please make sure that you correctly clearly your browser cache using `CTRL+SHIFT
   +R` on the admin Post Edit Screen. If you have a cache plugin, also please make
   sure to purge it in the settings.
 * If you’re using Chrome, you can also try to manually clear your cache using the
   steps described in [this article](https://support.google.com/accounts/answer/32050?hl=en)(
   other browsers have a similar method).
 * Just in case, [here is my test video](https://www.acf-extended.com/share/QDmCf)
   with the fix applied.
 * It looks like you’re not using the latest file I provided you. To prove it, the
   latest error you shared is the exact same as the first one:
 *     ```
       this.id.toLowerCase is not a function
       ```
   
 * If you search for `this.id` with `CTRL+F` in the file quoted in the error: [https://www.u2station.com/w-p/wp-content/plugins/acf-extended/assets/js/acfe-input.min.js?ver=0.8.8.8](https://www.u2station.com/w-p/wp-content/plugins/acf-extended/assets/js/acfe-input.min.js?ver=0.8.8.8),
   it simply doesn’t exist. The new file with the fix use `o.id`.
 * Which means your browser is still load the old JS file. The latest error also
   quote the exact same line + character position `acfe-input.min.js?ver=0.8.8.8:
   1:33854`. Which is virtually impossible, since there are new characters in the
   file with the fix I shared with you.
 * Let me know if you managed to load it!
 * Regards.
 *  Thread Starter [jonawayne](https://wordpress.org/support/users/jonawayne/)
 * (@jonawayne)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-jquery-deferred-exception/#post-16040855)
 * Hi,
 * Thanks, I thought I had cleared all of my browser data but forgot to clear the
   cookies. I followed your instructions carefully including uploading/rewriting
   the .js files from the zip file you provided via FTP to the /acf-extended/assets/
   js/ directory. I tested the site in both Safari and Chrome here on my Mac and
   it works great now, with no more errors. Thanks and I appreciate it.
 * Jonathan
 *  Plugin Author [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * (@hwk-fr)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-jquery-deferred-exception/#post-16041981)
 * Hello,
 * I’m glad to hear it now works as expected 🙂
 * Have a nice day!
 * Regards.
 *  Thread Starter [jonawayne](https://wordpress.org/support/users/jonawayne/)
 * (@jonawayne)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-jquery-deferred-exception/#post-16050687)
 * Thanks. One question though, should I update the plugin to your latest version
   now? 0.8.8.9? Or should I stay with what I have since maybe the issues weren’t
   fixed in your latest update?
 *  Plugin Author [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * (@hwk-fr)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-jquery-deferred-exception/#post-16050699)
 * Hello,
 * Indeed this issue, like the other bugs reported, is fixed in the new 0.8.8.9 
   patch. You can (and should) safely update it.
 * Have a nice day!
 * Regards.

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

The topic ‘Error – jQuery.Deferred exception’ is closed to new replies.

 * ![](https://ps.w.org/acf-extended/assets/icon-256x256.png?rev=2071550)
 * [Advanced Custom Fields: Extended](https://wordpress.org/plugins/acf-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/acf-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/acf-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/acf-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/acf-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/acf-extended/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/error-jquery-deferred-exception/#post-16050699)
 * Status: resolved