Everytime I try to add a feild to a content type, I get this message in a WSOD:

Call to undefined function field_attach_field_has_data() in /Users/Jeff/Sites/drupalhead2/drupal/modules/field_ui/field_ui.admin.inc on line 817

If I refresh the page, the field is listed, so it is being inserted despite the error.

CommentFileSizeAuthor
#1 592286_field_has_data.patch714 bytesksenzee

Comments

ksenzee’s picture

StatusFileSize
new714 bytes

I ran into this too. Looks like the function name got changed to field_has_data. Patch attached.

ksenzee’s picture

Status: Active » Needs review
ksenzee’s picture

And boy do we need some field_ui tests. :/

bjaspan’s picture

Status: Needs review » Reviewed & tested by the community

My bad, I renamed the function and must have missed this call (and so did the reviewer :-)).

dries’s picture

Status: Reviewed & tested by the community » Fixed

Oops. Rather than blaming the developer and the committer, I'd rather blame the tests. ;-)

Committed to CVS HEAD.

Status: Fixed » Closed (fixed)

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