- Issue created by @bobburns
I've run into this myself as well. Was able to revert with a:
composer require --no-update drupal/core=10.3.0 drupal/core-recommended=10.3.0 drupal/core-project-message=10.3.0 drupal/core-composer-scaffold=10.3.0 && composer update --no-dev
Looks to have been caused by https://git.drupalcode.org/project/drupal/-/commit/d0f39b40d29cb2b256932...
from https://www.drupal.org/project/drupal/issues/3441010 🐛 Container compile crash when a service decorates a destructable service Needs workGuess a destruct method needs implementing?
- First commit to issue fork.
- Status changed to Needs review
2 months ago 10:06am 5 July 2024 - 🇧🇪Belgium Jelle_S Antwerp, Belgium
And the patch for those that want to use it in composer.patches.json
- Status changed to RTBC
2 months ago 3:06pm 5 July 2024 - 🇧🇪Belgium gorkagr
MR works for me.
Also as this breaks any site that updates to 10.3.1, updated to major :)Best
- 🇺🇸United States bobburns
Needs to be comitted to next release.
Did not work on fresh 4.0.2 download BUT did work on my completley patched 4.0.1 (I renmed to 4.0.2 in the info.yml file)
The fresh download of 4.0.2 did not have function destruct
- 🇦🇹Austria drupalfan2
Same problem here in version 4.0.2.
Patch #5 solved the problem.
We need a new version 4.0.3 including this patch. - 🇧🇪Belgium Den Tweed
Can confirm patch #5 fixes the issue
But as this issue completely breaks a site by upgrading core this should be set to Critical imo
- Status changed to Closed: duplicate
2 months ago 11:14am 8 July 2024 - 🇮🇩Indonesia el7cosmos 🇮🇩 GMT+7
Fix in 🐛 Drupal 10.3 compatibility Fixed and released a new version 4.0.3 →
- 🇮🇳India Rajivgandhi
Getting the below error after upgrading the Drupal version to 10.3.1.
PHP Fatal error: Class Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Drupal\Core\DestructableInterface::destruct) in /var/www/html/web/modules/contrib/hook_event_dispatcher/src/HookEventDispatcherModuleHandler.php on line 15