I'd created a MigrateDestination but didn't implement __toString() since it wasn't defined as abstract or listed in the commented out blocks. But when I went to view the migration using migrate_ui I got the following exception:

Recoverable fatal error: Object of class BuccellaProductDest could not be converted to string in migrate_migration_info() (line 518 of /Users/amorton/Sites/buccella/sites/all/modules/migrate/migrate_ui/migrate_ui.pages.inc).

Comments

mikeryan’s picture

Status: Active » Fixed

OK, declared an abstract __toString() in MigrateDestination, for D6 and D7. Also added __toString() implementations where missing in migrate_extras.

Status: Fixed » Closed (fixed)

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

mototribe’s picture

I got this error with the current production release. After adding __tostring it worked.