Recreating content types with features caused the 'Fatal error: Unsupported operand types in /drupal/sites/all/modules/entity/entity_metadata/modules/field.info.inc on line 55'. The attached patch changes the syntax which caused the error. The property info array will now be handeled correctly depending on the existence of it.

CommentFileSizeAuthor
#2 metadata.patch659 bytesfago
#1 property_info.patch776 bytesluke_b

Comments

luke_b’s picture

StatusFileSize
new776 bytes

The mentioned patch..

fago’s picture

Status: Active » Needs review
StatusFileSize
new659 bytes

Does that patch work for you too?

fago’s picture

Status: Needs review » Fixed

I committed it, please test.

luke_b’s picture

Checking the existance of an instance before executing the callback is definately more elegant and yes, I confirm it solves the issue and replaces my patch. Thanks!

Status: Fixed » Closed (fixed)

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