After enabling the module I started getting this warning on all "/admin/structure/types/manage//fields" pages:

Warning: Illegal offset type in isset or empty в функции field_ui_widget_type_options() (строка 1471 в файле /var/www/lib/d7_dev/core/modules/field_ui/field_ui.admin.inc).
Warning: Illegal offset type in isset or empty в функции field_ui_widget_type_options() (строка 1471 в файле /var/www/lib/d7_dev/core/modules/field_ui/field_ui.admin.inc).

CommentFileSizeAuthor
#4 exif-1529282.4.patch1003 bytestobiasb
#2 exif-1956946-2.patch875 bytesOnkelTem

Comments

jphautin’s picture

Assigned: Unassigned » jphautin
Priority: Normal » Major
OnkelTem’s picture

Status: Active » Needs review
StatusFileSize
new875 bytes

Ah, sorry, I forgot to update the issue. I think I found the reason. I don't think I really fix something, but at least the warning went away. (So this is no really a patch, just a way to draw attention to specific code)

tobiasb’s picture

tobiasb’s picture

Status: Closed (duplicate) » Needs review
StatusFileSize
new1003 bytes

The bug was introduced by #1529282: Incorrect hook_field_widget_info_alter() breaks existing/new unrelated fields..

EDIT: Sorry wrong issue number in the filename ;-)

firfin’s picture

Status: Needs review » Reviewed & tested by the community

Patch applies cleanly, solves the errors.
Further code seems clean and makes sense to me, RTBC ?

jphautin’s picture

Status: Reviewed & tested by the community » Fixed

patch apply.
Thanks firfin.

Status: Fixed » Closed (fixed)

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