Das Problem (Logs überfüllt mit):
Notice: Trying to access array offset on value of type null in Drupal\views\Plugin\views\display\EntityReference->query() (Zeile 195 in /var/www/web/core/modules/views/src/Plugin/views/display/EntityReference.php)
core\modules\views\src\Plugin\views\display\EntityReference.php (Line 156):
// $options = $this->getOption('entity_reference_options');
$options = $this->getOption('entity_reference_options') ?? [];
Comments
Notice: Undefined index: limit in Drupal\views\Plugin\views\disp Fr, 07/08/2022 - 17:12
Notice: Undefined index: limit in Drupal\views\Plugin\views\display\EntityReference->query() (Zeile 196 in /var/www/web/core/modules/views/src/Plugin/views/display/EntityReference.php)
Lösung (Line 196);
if( !empty( $options['limit'] ) ) { $this->view->setItemsPerPage($options['limit']); }
Neuen Kommentar schreiben