Cannot assign null to property

Created on 9 December 2023, 7 months ago
Updated 14 January 2024, 6 months ago

Problem/Motivation

After updating from 10.1.6 to 10.1.7 I got this error: TypeError: Cannot assign null to property Drupal\views\Plugin\views\query\QueryPluginBase::$offset of type int in Drupal\views\Plugin\views\query\QueryPluginBase->setOffset() (line 152 of /xxx/drupal/web/core/modules/views/src/Plugin/views/query/QueryPluginBase.php).
The view causing the error is attached.
I patched public function setOffset($offset) by adding: if (is_null($offset)) $offset = 0;
The view was created in version 9.
The error is in page kbg_voorpagina.

πŸ› Bug report
Status

Closed: duplicate

Version

10.1 ✨

Component
ViewsΒ  β†’

Last updated about 5 hours ago

Created by

πŸ‡³πŸ‡±Netherlands PROMES

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024