PHP error when attempting to edit or save menu on D11

Created on 18 July 2025, 26 days ago

We are seeing this PHP error message any time we try to save and sometimes even edit a menu using `Structure > Mega Menu > [Menu]`. This error shows up after upgrading to Drupal 11:

TypeError: Cannot access offset of type array on array in Drupal\Core\Database\Query\Merge->key() (line 331 of /code/web/core/lib/Drupal/Core/Database/Query/Merge.php).

and

AssertionError: assert(is_string($field)) in assert() (line 330 of /var/www/web/core/lib/Drupal/Core/Database/Query/Merge.php).

We have located the error and will be providing a patch for this.

🐛 Bug report
Status

Needs review

Version

1.16

Component

Code

Created by

🇨🇷Costa Rica esolano

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

Comments & Activities

Production build 0.71.5 2024