I think I created a model without giving it a title and get an unstable site with WSCOD with following message:
The website encountered an unexpected error. Please try again later.
TypeError: Return value of Drupal\eca\Plugin\ECA\Event\EventBase::eventName() must be of the type string, null returned in Drupal\eca\Plugin\ECA\Event\EventBase->eventName() (line 24 of modules/contrib/eca/src/Plugin/ECA/Event/EventBase.php).
Drupal\eca\Plugin\ECA\Event\EventBase->eventName() (Line: 135)
Drupal\eca\Entity\EcaStorage->loadByEvent(Object, 'account.set') (Line: 105)
Drupal\eca\Processor->execute(Object, 'account.set') (Line: 44)
Drupal\eca\EventSubscriber\EcaBase->onEvent(Object, 'account.set', Object)
call_user_func(Array, Object, 'account.set', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'account.set') (Line: 65)
Drupal\Core\Session\AccountProxy->setAccount(Object) (Line: 79)
Drupal\Core\EventSubscriber\AuthenticationSubscriber->onKernelRequestAuthenticate(Object, 'kernel.request', Object)
call_user_func(Array, Object, 'kernel.request', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.request') (Line: 134)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 42)
Drupal\webform_product\RedirectMiddleware->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Comments
Comment #2
mxhPlease provide some details so that we are able to reproduce the error.
Did the error directly occur after an upgrade or some time later? How did you perform the upgrade?
Comment #3
jurgenhaasGood news! This is not an ECA issue at all. It's the incompatible eca_state_machine module. I'm fixing this now.
Comment #4
jurgenhaasFixed this in the latest dev release. @nojj please run a
composer update
followed by adrush cr
, this should resolve this issue completely. If so, please set the issue status to RTBC.Comment #6
nojj CreditAttribution: nojj commentedsolved for me!
Comment #7
jurgenhaasThx