- Issue created by @bgronek
- πΊπΈUnited States bgronek
I just found that the same is also true for the entity_embed_ckeditor4to5upgrade_plugin_info_alter method.
- Status changed to Postponed: needs info
about 1 year ago 3:55pm 9 November 2023 - πΊπΈUnited States dave reid Nebraska USA
Check if you are applying a patch and test without it. We would be seeing test failures if this were true.
- π¨π¦Canada danrod Ottawa
I had the same issue when trying to install the latest DEV release of the WxT distribution (composer.json was updated to increment entity_embed version from ^1.4 to ^1.5):
Fatal error: Cannot redeclare entity_embed_library_info_alter() (previously declared in /var/www/html/html/modules/contrib/entity_embed/entity_embed.module:308) in /var/www/html/html/modules/contrib/entity_embed/entity_embed.module on line 376
- ππΊHungary Balu Ertl Budapest πͺπΊ
@bgronek β & @danrod β does any of you might have the chance to test the same procedure with the latest stable version 8.x-1.6 β , please?
Otherwise it seems to be a quite odd and edgy case.
- π«π·France eliechoufani Marseille, Beirut
Hello, I have the same issue with the latest stable version 8.x-1.6 on Drupal 10.3.5 and Drupal 10.3.10.
PHP Fatal error: Cannot redeclare entity_embed_library_info_alter() (previously declared in /home/users/irp_user/www/web/modules/contrib/entity_embed/entity_embed.module:308) in /home/users/irp_user/www/web/modules/contrib/entity_embed/entity_embed.module on line 362 [warning] Drush command terminated abnormally.
Downgraded back to 8.x-1.4
- π«π·France eliechoufani Marseille, Beirut
Sorry, false alarm, I don't know why an old patch was still applied after upgrading " https://www.drupal.org/files/issues/2023-06-19/entity_embed-3272732-93.p... β "
I had to delete the folder web/modules/contrib/entity_embed manually
Clear composer cache : composer clearcache
Then require the new version : composer require drupal/entity_embed:1.6To fix the issue.
Thank you.