Undefined array key "#attributes"

Created on 27 May 2024, 30 days ago

Since update Drupal to 10.2.3 and workbench 1.4.0 I'm getting following php errors in the "Recent logs" for some roles:

Warning: Undefined array key "#attributes" in Drupal\workbench\Controller\WorkbenchContentController->renderBlocks() (regel 152 van /data/code/jobbonus/www/modules/contrib/workbench/src/Controller/WorkbenchContentController.php)
#0 /data/code/jobbonus/www/core/includes/bootstrap.inc(164): _drupal_error_handler_real(2, 'Undefined array...', '/data/code/jobb...', 152)
#1 /data/code/jobbonus/www/modules/contrib/workbench/src/Controller/WorkbenchContentController.php(152): _drupal_error_handler(2, 'Undefined array...', '/data/code/jobb...', 152)
#2 /data/code/jobbonus/www/modules/contrib/workbench/src/Controller/WorkbenchContentController.php(69): Drupal\workbench\Controller\WorkbenchContentController->renderBlocks(Array)
#3 [internal function]: Drupal\workbench\Controller\WorkbenchContentController->content()

No-one complained so far about experiencing strange things.

🐛 Bug report
Status

Needs review

Version

1.4

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024