While using Feeds and the language patch (#1183440: Multilingual Feeds - Make field import language-aware), I ran into the following error on import:

Notice: Undefined property: stdClass::$title in title_entity_update() (line 133 of /path/to/drupal/sites/all/modules/title/title.module)

I was in a situation where $entity->field_replacement->{$legacy_field} wasn't set. So it's necessary to check this before doing the comparison.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

colan’s picture

Assigned: colan » Unassigned
Status: Active » Needs review
FileSize
1.21 KB
amateescu’s picture

Priority: Major » Normal
Status: Needs review » Reviewed & tested by the community
FileSize
852 bytes

I also encountered this issue on a drush site-install. Cleaned up the patch and I think it's good to go now.

plach’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks.

Status: Fixed » Closed (fixed)

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

  • Commit 628406b on 7.x-1.x, workbench authored by colan, committed by plach:
    Issue #1362790 by colan, amateescu: Fixed Undefined property: stdClass...