- Issue created by @kenwest
Unable to view the Process steps for the migrations 'd7_field_formatter_settings' or 'upgrade_d7_search_page'.
Log contains error: TypeError: strlen(): Argument #1 ($string) must be of type string, array given in strlen() (line 395 of /var/www/d10/web/core/lib/Drupal/Component/Utility/Unicode.php).
The problem appears to be that the code at line 202 of \Drupal\migrate_tools\Controller\MigrationController::process() assumes that $process_line[0]['default_value']
is a string. But for 'd7_field_formatter_settings' the default for "options/settings" is [].
I suggest that if $process_line[0]['default_value'] is not a string then print_r() its value. I know this is a naive approach, but [] is the only non-string value I can find that is assigned to default_value (among the contributed modules I use) so it seems adequate.
Active
6.0
Code