Loading
Issue #3626509: Call to a member function getLabel() on null after a config import uninstalls a purger module
- Drop a purger that
initializePurgers()skips (because creating it throwsServiceNotFoundException, typically while its module is being uninstalled) frompluginsEnabledtoo, sogetLabels(),getTypesByPurger()andsetPluginsEnabled()never meet an enabled id without an instance. - Log the exception message instead of the exception object: with
zend.exception_ignore_args=Offthe exception carries the container, and serializing the log context throws "The container was serialized."
Steps to reproduce and results before and after: https://www.drupal.org/project/purge/issues/3626509
Drafted with the help of an AI assistant; tested and reviewed by me.