Sometimes, when field_ui_field_edit_form is not fully initialized (in case it is 'locked' for example) a PHP notice appears:

Notice: Undefined index: instance in chosen_form_field_ui_field_edit_form_alter() (line 55 ...
Files: 

Comments

OnkelTem’s picture

Status:Active» Needs review
StatusFileSize
new1.39 KB
arshadcn’s picture

Status:Needs review» Fixed

Fixed. Thanks.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

OnkelTem’s picture

You don't use provided patch as is, do you? :)

UPDATE Ops. You haven't committed it yet.

OnkelTem’s picture

Status:Closed (fixed)» Active
inwebsebastian’s picture

How can i install te patch, have to rewrite the code? chosen.module? Im from Argentina, sorry my english!

arshadcn’s picture

@inwebsebastian, please see http://drupal.org/patch/apply. Let we know if you need any help.

makokis’s picture

this patch #1 helped me to solve my error:
Notice: Undefined index: instance in chosen_form_field_ui_field_edit_form_alter() (line 55 ...

thanks.

theo_’s picture

This patch works for me too.

Hydra’s picture

Status:Active» Closed (fixed)

As far as I can tell, the patch has been committed, see http://drupalcode.org/project/chosen.git/commit/3f674a9
You need to update your version of chosen to the dev version to have the committed patch applied, since a new stable release has been made.