WorkflowStateActionBase: Call to a member function getSetting() on null

Created on 11 April 2022, over 2 years ago
Updated 13 March 2024, 8 months ago

Problem/Motivation

The website encountered an unexpected error. Please try again later.
Error: Call to a member function getSetting() on null in Drupal\workflow\Plugin\Action\WorkflowStateActionBase->buildConfigurationForm() (line 191 of modules/workflow/src/Plugin/Action/WorkflowStateActionBase.php).

Drupal\workflow\Plugin\Action\WorkflowStateActionBase->buildConfigurationForm(Array, Object) (Line: 34)
Drupal\workflow\Plugin\Action\WorkflowNodeGivenStateAction->buildConfigurationForm(Array, Object) (Line: 87)
Drupal\eca\Service\Actions->prepareConfigFields(Array, Array, Object) (Line: 93)
Drupal\eca\Service\Actions->fields(Object) (Line: 631)
Drupal\eca_modeller_bpmn\ModellerBpmnBase->prepareActionTemplate(Object) (Line: 484)
Drupal\eca_modeller_bpmn\ModellerBpmnBase->getTemplates() (Line: 63)
Drupal\bpmn_io\Plugin\ECA\Modeller\BpmnIo->edit() (Line: 86)
Drupal\bpmn_io\Controller\BpmnIo->add()
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158)
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: 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)

Steps to reproduce

The problem arises when the workflow module is installed in the system together with the workflows module (Note: one is the contribution module and the other is the module that comes in the Drupal core).

Install both modules and add Add new BPMN.iO model. The problem arise after that...

🐛 Bug report
Status

Fixed

Version

1.7

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024