Problem
On some CE-Views pages the recent update to 1.4 resulted in this error:
TypeError: Drupal\lupus_decoupled_views\Plugin\views\display\CustomElementsPage::buildCustomElement(): Argument #3 ($rows) must be of type array, null given, called in /app/web/modules/contrib/lupus_decoupled/modules/lupus_decoupled_views/src/Plugin/views/display/CustomElementsPage.php on line 91 in Drupal\lupus_decoupled_views\Plugin\views\display\CustomElementsPage->buildCustomElement() (Zeile 78 in /app/web/modules/contrib/lupus_decoupled/modules/lupus_decoupled_views/src/Plugin/views/display/CustomElementsViewsDisplayTrait.php).
Proposed resolution
Issue fork lupus_decoupled-3562150
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
fagoThis seems to happen when pages are empty, but probably would also happen when they are mis-configured with a wrong style. we need to improve the code to be more defensive here.
Comment #4
fagoComment #6
fagothe fix works + comes with test coverage. Merged.