Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295636

Argument #1 ($elements) must be of type array, null given

$
0
0

Problem/Motivation

In Drupal 10.1.6 we are getting this error in our logs:

TypeError: Drupal\Core\Render\Element::children(): Argument #1 ($elements) must be of type array, null given, called in web/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php on line 966 in Drupal\Core\Render\Element::children() (line 72 of web/core/lib/Drupal/Core/Render/Element.php).

Steps to reproduce

Install Drupal 10. Use a filter in views. We are also using the Better Exposed Filters module.

Proposed resolution

See attached proposed patch.


Viewing all articles
Browse latest Browse all 295636


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>