I use:
Drupal 7.12
Migrate 7.x-2.x-dev (2011-Dec-16) Migrate 7.x-2.3-rc1+5-dev (2012-Mar-05)
Migrate Extras 7.x-2.x-dev (2011-Oct-26) Migrate Extras 7.x-2.3-rc1+0-dev (2012-Mar-01)

I get the error-message always after using update.php:

Strict warning: Declaration of MigrateDestinationMedia::options() should be compatible with that of MigrateDestinationFile::options() in _registry_check_code() (Line 3004 of xxxxxxxxxxx\includes\bootstrap.inc).

This issue was reported before on http://drupal.org/node/1014268#comment-5377706

Please help.

Comments

marcingy’s picture

Project: Drupal core » D7 Media
Version: 7.12 » 7.x-2.x-dev
Component: base system » Code

This is not a core bug by the look of it.

dave reid’s picture

Project: D7 Media » Migrate Extras
Component: Code » Media

There is no Migrate integration with Media so passing this along

mikeryan’s picture

Status: Active » Closed (won't fix)

Sorry, I think we're stuck here. This strict warning was introduced with PHP 5.3 - nothing's actually wrong (everything will work fine), but if you have strict warnings enabled it is annoying. The problem is that changing MigrateDestinationMedia::options() at this point to be compatible with the MigrateDestinationFile::options() signature (by adding $preserve_files and $copy_blob as the fifth and sixth parameters) would break things for anyone using the $source_migrations parameter now in the fifth slot.