Using 'migrate' without 'migrate_plus' leads to fatal PHP error

Created on 6 December 2022, about 2 years ago
Updated 21 January 2024, 11 months ago

On a site that's using 'migrate' but not 'migrate_plus', I'm getting this error:

Error: Class "Drupal\migrate_plus\Entity\MigrationGroup" not found in Drupal\inline_entity_form\MigrationHelper->getMigrationWithSharedConfiguration() (line 155 of /app/web/modules/contrib/inline_entity_form/src/MigrationHelper.php) #0 /app/web/modules/contrib/inline_entity_form/src/MigrationHelper.php(34): Drupal\inline_entity_form\MigrationHelper->getMigrationWithSharedConfiguration(Array)

Checking that the class exists before trying to call the load() method fixes it in my testing!

I'll attach a patch in a moment.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dsnopek USA

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

Merge Requests

Comments & Activities

Not all content is available!

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

Production build 0.71.5 2024