Posted by pounard on
When migrating from Drupal 6 to Drupal 7 using CCK module, but without migrate, fatal error happens due the missing migrate module:
+ drush -y content-migrate-fields
PHP Fatal error: Class 'MigrateSimpleFieldHandler' not found in /var/www/dfr7/www7/sites/all/modules/contrib/phone/phone.migrate.inc on line 34
Migrate is not a hard dependency for this module, and must remain optional, the right way to solve this is to move the
MigratePhoneFieldHandlerclass definition into its own file, and specify this file into the files info for core to be able autoload it. Proceding this way, this class will be loaded only when the migrate module will spawn it and avoid those fatal errors in all other cases.
I am writing a patch, wait a few minutes.