Problem/Motivation
PHP Error occurs when I click on the "Configure" Button in the Inclusion screen, a PHP error occurs.
Steps to reproduce
When I am in the "admin/config/search/simplesitemap/entities" page, if I click on any of the "Configure" buttons, I get the following PHP error:
TypeError: Drupal\simple_sitemap\Form\FormHelper::bundleSettingsForm(): Argument #1 ($form) must be of type array, string given, called in /code/web/modules/contrib/simple_sitemap/modules/simple_sitemap_engines/src/Form/FormHelper.php on line 128 in Drupal\simple_sitemap\Form\FormHelper->bundleSettingsForm() (line 211 of modules/contrib/simple_sitemap/src/Form/FormHelper.php).
Drupal\simple_sitemap_engines\Form\FormHelper->entityBundlesFormAlter(Array) (Line: 55)
simple_sitemap_engines_form_simple_sitemap_entity_bundles_form_alter(Array, Object, 'simple_sitemap_entity_bundles_form') (Line: 552)
Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object, 'simple_sitemap_entity_bundles_form') (Line: 834)
Drupal\Core\Form\FormBuilder->prepareForm('simple_sitemap_entity_bundles_form', Array, Object) (Line: 285)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 638)
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: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->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: 57)
Drupal\advban\AdvbanMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->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: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 741)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes