- Issue created by @andrewbelcher
- 🇩🇪Germany jurgenhaas Gottmadingen
Did you run the database update? The 2.1.4 release comes with an update hook that updates existing ECA models to the additional config properties.
Getting errors on config events:
Undefined array key 1 ConfigEvent.php:176
Undefined array key 1 ConfigEvent.php:178
Looks like something to do with the handling of wildcards? $wildcard === '*'
when the error is triggered.
#0 xdebug://debug-eval(1): eval()
#1 /var/www/html/web/modules/contrib/eca/modules/config/src/Plugin/ECA/Event/ConfigEvent.php(176): unknown()
#2 [internal function]: Drupal\eca_config\Plugin\ECA\Event\ConfigEvent::appliesForWildcard()
#3 /var/www/html/web/modules/contrib/eca/src/Processor.php(272): call_user_func()
#4 /var/www/html/web/modules/contrib/eca/src/Processor.php(169): Drupal\eca\Processor->wildcardApplies()
#5 /var/www/html/web/modules/contrib/eca/src/EventSubscriber/DynamicSubscriber.php(39): Drupal\eca\Processor->execute()
#6 /var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php(206): Drupal\eca\EventSubscriber\DynamicSubscriber->onEvent()
#7 /var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
#8 /var/www/html/web/core/lib/Drupal/Core/Config/Config.php(230): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
#9 /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleInstaller.php(217): Drupal\Core\Config\Config->save()
#10 /var/www/html/web/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php(83): Drupal\Core\Extension\ModuleInstaller->install()
#11 /var/www/html/web/core/lib/Drupal/Core/Config/ConfigImporter.php(877): Drupal\Core\ProxyClass\Extension\ModuleInstaller->install()
#12 /var/www/html/web/core/lib/Drupal/Core/Config/ConfigImporter.php(629): Drupal\Core\Config\ConfigImporter->processExtension()
#13 /var/www/html/web/core/lib/Drupal/Core/Config/ConfigImporter.php(566): Drupal\Core\Config\ConfigImporter->processExtensions()
#14 /var/www/html/vendor/drush/drush/src/Commands/config/ConfigImportCommands.php(265): Drupal\Core\Config\ConfigImporter->doSyncStep()
#15 /var/www/html/vendor/drush/drush/includes/drush.inc(62): Drush\Commands\config\ConfigImportCommands->doImport()
#16 /var/www/html/vendor/drush/drush/includes/drush.inc(53): drush_call_user_func_array()
#17 /var/www/html/vendor/drush/drush/src/Commands/config/ConfigImportCommands.php(235): drush_op()
#18 [internal function]: Drush\Commands\config\ConfigImportCommands->import()
#19 /var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php(276): call_user_func_array()
#20 /var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback()
#21 /var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php(175): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter()
#22 /var/www/html/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(387): Consolidation\AnnotatedCommand\CommandProcessor->process()
#23 /var/www/html/vendor/symfony/console/Command/Command.php(279): Consolidation\AnnotatedCommand\AnnotatedCommand->execute()
#24 /var/www/html/vendor/symfony/console/Application.php(1094): Symfony\Component\Console\Command\Command->run()
#25 /var/www/html/vendor/symfony/console/Application.php(342): Symfony\Component\Console\Application->doRunCommand()
#26 /var/www/html/vendor/symfony/console/Application.php(193): Symfony\Component\Console\Application->doRun()
#27 /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php(110): Symfony\Component\Console\Application->run()
#28 /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php(40): Drush\Runtime\Runtime->doRun()
#29 /var/www/html/vendor/drush/drush/drush.php(140): Drush\Runtime\Runtime->run()
#30 /var/www/html/vendor/bin/drush.php(119): include('...')
#31 {main}
Trigger a config event (e.g. enable a module) in a vanilla Drupal CMS install.
Active
2.1
Code
Did you run the database update? The 2.1.4 release comes with an update hook that updates existing ECA models to the additional config properties.