TypeError: Drupal\eca_modeller_bpmn\ModellerBpmnBase::buildConfigurationForm()
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3465248. --> Reported by: [fox_01](https://www.drupal.org/user/899886) Related to !442 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>After Upgrading from Drupal 10.2.5 to 10.3.1 and ECA 1.x to 2.x i get the following error when creating or editing an existing BPMN ECA flow. Other modellers work.</p> <p>Modules used</p> <ul> <li>Machine name: bpmn_io - Version: 2.0.0</li> <li>Machine name: eca -Version: 2.0.1</li> </ul> <pre>TypeError: Drupal\eca_modeller_bpmn\ModellerBpmnBase::buildConfigurationForm(): Return value must be of type array, null returned in Drupal\eca_modeller_bpmn\ModellerBpmnBase-&gt;buildConfigurationForm() (line 584 of modules/contrib/eca/modules/modeller_bpmn/src/ModellerBpmnBase.php).<br>Drupal\eca_modeller_bpmn\ModellerBpmnBase-&gt;getTemplates() (Line: 85)<br>Drupal\bpmn_io\Plugin\ECA\Modeller\BpmnIo-&gt;edit() (Line: 208)<br>Drupal\eca_ui\Controller\EcaController-&gt;edit('process_xon9our')<br>call_user_func_array(Array, Array) (Line: 123)<br>Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;Drupal\Core\EventSubscriber\{closure}() (Line: 638)<br>Drupal\Core\Render\Renderer-&gt;executeInRenderContext(Object, Object) (Line: 121)<br>Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)<br>Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;Drupal\Core\EventSubscriber\{closure}() (Line: 181)<br>Symfony\Component\HttpKernel\HttpKernel-&gt;handleRaw(Object, 1) (Line: 76)<br>Symfony\Component\HttpKernel\HttpKernel-&gt;handle(Object, 1, 1) (Line: 53)<br>Drupal\Core\StackMiddleware\Session-&gt;handle(Object, 1, 1) (Line: 48)<br>Drupal\Core\StackMiddleware\KernelPreHandle-&gt;handle(Object, 1, 1) (Line: 28)<br>Drupal\Core\StackMiddleware\ContentLength-&gt;handle(Object, 1, 1) (Line: 32)<br>Drupal\big_pipe\StackMiddleware\ContentLength-&gt;handle(Object, 1, 1) (Line: 57)<br>Drupal\advban\AdvbanMiddleware-&gt;handle(Object, 1, 1) (Line: 50)<br>Drupal\ban\BanMiddleware-&gt;handle(Object, 1, 1) (Line: 48)<br>Drupal\Core\StackMiddleware\ReverseProxyMiddleware-&gt;handle(Object, 1, 1) (Line: 51)<br>Drupal\Core\StackMiddleware\NegotiationMiddleware-&gt;handle(Object, 1, 1) (Line: 36)<br>Drupal\Core\StackMiddleware\AjaxPageState-&gt;handle(Object, 1, 1) (Line: 49)<br>Drupal\remove_http_headers\StackMiddleware\RemoveHttpHeadersMiddleware-&gt;handle(Object, 1, 1) (Line: 51)<br>Drupal\Core\StackMiddleware\StackedHttpKernel-&gt;handle(Object, 1, 1) (Line: 741)<br>Drupal\Core\DrupalKernel-&gt;handle(Object) (Line: 19)</pre><h4 id="summary-steps-reproduce">Steps to reproduce</h4> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue