Closed (won't fix)
Project:
Migrate Extras
Version:
7.x-2.x-dev
Component:
Media
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2012 at 23:15 UTC
Updated:
13 Mar 2012 at 19:38 UTC
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
Comment #1
marcingy commentedThis is not a core bug by the look of it.
Comment #2
dave reidThere is no Migrate integration with Media so passing this along
Comment #3
mikeryanSorry, 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.