You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Drush\Commands\core\MigrateRunnerCommands::getMigrationLastImportedTime(): Return value must be of type string, bool returned in Drush\Commands\core\MigrateRunnerCommands->getMigrationLastImportedTime() (line 282 of /var/www/vendor/drush/drush/src/Commands/core/MigrateRunnerCommands.php).
Possible solution:
Use return (string) $lastImported;
instead of return $lastImported;
It will convert FALSE to the empty character.
The text was updated successfully, but these errors were encountered:
Method getMigrationLastImportedTime must return a string, but returns FALSE for migrations that have never run.
Migrations that have never run, have FALSE
b:0;
in thekey_value
table.$this->keyValue->get($migration->id(), '')
returns FALSE.drush/src/Commands/core/MigrateRunnerCommands.php
Line 282 in 6004108
It causes an error:
Possible solution:
Use
return (string) $lastImported;
instead of
return $lastImported;
It will convert FALSE to the empty character.
The text was updated successfully, but these errors were encountered: