- Issue created by @jleipsig
- Merge request !8Fix TypeError caused by empty $elements in Drupal\Core\Render\Renderer::doRender() → (Open) created by Unnamed author
When button Next is clicked in the first step of a view with a views_send_bulk_form element, a WSOD appears with Error
TypeError: Drupal\Core\Render\Renderer::doRender(): Argument #1 ($elements) must be of type array, null given, called in /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php on line 222 in Drupal\Core\Render\Renderer->doRender() (line 265 of core/lib/Drupal/Core/Render/Renderer.php).
It looks like the issue is a consequence of a change in the function declaration of Drupal\Core\Render\Renderer::doRender()
starting with Drupal version 11.2.0
Drupal 11.2.x
Instead of unset($form['output'])
, use $form['output'] = []
in ViewsSend::viewsForm
Active
2.0
Code