🐛 | Drupal core | Exception: Serialization of 'Closure' is not allowed in serialize() (line 157 in /core/lib/Drupal/Core/Batch/BatchStorage.php).
🇩🇰Denmark abdirisak
Updating from 9.5.11 to 10.0.11 gives me a very similar error.
drush updatedb
Module Update ID Type Description
-------- ----------- --------------- -----------------------------------------
user 10000 hook_update_n 10000 - Remove non-existent permissions created by migrations.
-------- ----------- --------------- -----------------------------------------
Do you wish to run the specified pending updates?: yes
FAILED! drush updatedb -y
"non-zero return code", "rc": 1,
In BatchStorage.php line 157: Serialization of 'Closure' is not allowed.