TypeError: Cannot access offset of type string on string

Created on 27 July 2022, almost 2 years ago
Updated 19 March 2024, 3 months ago

Running drush generate yml-migrate_file_to_media_migration_media using PHP 8:

[error] TypeError: Cannot access offset of type string on string in Drupal\migrate_file_to_media\Generators\MediaMigrateGenerator::validatePluginId() (line 117 of /var/www/html/ibfd/web/modules/contrib/migrate_file_to_media/src/Generators/MediaMigrateGenerator.php)

On PHP 7.4. this was just a warning.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands gaele

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
Production build 0.69.0 2024