When trying to import private messages, the following errors are thrown:

Parameter 1 to privatemsg_migrate_prepare_privatemsg() expected to be a reference, value given in /Users/rocketeerbkw/dev/druportal/profiles/druportal/modules/migrate/migrate.module on line 57.

Invalid argument supplied for foreach() in /Users/rocketeerbkw/dev/druportal/profiles/druportal/modules/privatemsg/privatemsg.module on line 1644.

As it turns out, the first error is thrown for any module implementing hook_migrate_prepare_privatemsg(). The problem is that the module is calling migrate_invoke_all() when it should be calling migrate_destination_invoke_all().

This needs to be changed in two places, line 77 and 100 of privatemsg.migrate.inc.

I've looked at CVS HEAD and the same problem is there as well.

Comments

mikeryan’s picture

Status: Active » Closed (won't fix)

Migrate and Migrate Extras V1 are no longer supported - see #984050: Privatemsg code for 2.x branch for V2 support for privatemsg.