TypeError: Symfony\Component\HttpFoundation\Session\Flash\FlashBag::peek(): Argument #1 ($type) must be of type string, array given, called in .../core/lib/Drupal/Core/Messenger/Messenger.php on line 59 in Symfony\Component\Ht

Created on 31 December 2023, 6 months ago
Updated 20 February 2024, 4 months ago

Getting this error when trying to bulk update unaliased urls at /admin/config/search/path/update_bulk
The batch screen loads and dies after a while with this message. Suspecting some resource limit is hit, but still debugging.

Drupal 10.2.0
php 8.1

The only similar bug I found was this https://www.drupal.org/project/autoslave/issues/3280448 β†’

Possibly relate issue https://www.drupal.org/project/drupal/issues/2183565 πŸ› Avoid loading all terms on the taxonomy overview form RTBC My taxonomy is a large location taxonomy: continents -> countries -> cities

Drupal\pathauto\Form\PathautoBulkUpdateForm::batchProcessThe website encountered an unexpected error. Try again later.

TypeError: Symfony\Component\HttpFoundation\Session\Flash\FlashBag::peek(): Argument #1 ($type) must be of type string, array given, called in .../core/lib/Drupal/Core/Messenger/Messenger.php on line 59 in Symfony\Component\HttpFoundation\Session\Flash\FlashBag->peek() (line 62 of vendor/symfony/http-foundation/Session/Flash/FlashBag.php).
Drupal\Core\Messenger\Messenger->addMessage() (Line: 180)
Drupal\pathauto\Form\PathautoBulkUpdateForm::batchFinished() (Line: 457)
_batch_finished() (Line: 99)
_batch_page() (Line: 52)
Drupal\system\Controller\BatchController->batchPage()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704)
Drupal\Core\DrupalKernel->handle() (Line: 19)
πŸ› Bug report
Status

Active

Version

1.12

Component
BatchΒ  β†’

Last updated 9 days ago

Created by

πŸ‡­πŸ‡ΊHungary giorgio79

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

Comments & Activities

Production build 0.69.0 2024