Fixed
Project:
Cloud
Version:
8.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Jun 2026 at 21:34 UTC
Updated:
15 Jun 2026 at 18:19 UTC
Jump to comment: Most recent
Hello all,
I'm receiving the error below, when I try to do a fresh install:
The website encountered an unexpected error. Try again later.
TypeError: Drupal\cloud\Routing\CloudConfigHtmlRouteProvider::getHistoryRoute(): Return value must be of type ?Serializable, Symfony\Component\Routing\Route returned in Drupal\cloud\Routing\CloudConfigHtmlRouteProvider->getHistoryRoute() (line 77 of modules/contrib/cloud/src/Routing/CloudConfigHtmlRouteProvider.php).
Drupal\cloud\Routing\CloudConfigHtmlRouteProvider->getRoutes() (Line: 47)
Drupal\Core\EventSubscriber\EntityRouteProviderSubscriber->onDynamicRouteEvent() (Line: 246)
Symfony\Component\EventDispatcher\EventDispatcher::{closure:Symfony\Component\EventDispatcher\EventDispatcher::optimizeListeners():241}() (Line: 206)
Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (Line: 56)
Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (Line: 196)
Drupal\Core\Routing\RouteBuilder->rebuild() (Line: 83)
Drupal\Core\ProxyClass\Routing\RouteBuilder->rebuild() (Line: 67)
Drupal\Core\Routing\RouteProviderLazyBuilder->getRouteProvider() (Line: 97)
Drupal\Core\Routing\RouteProviderLazyBuilder->getRoutesByNames() (Line: 787)
Drupal\admin_toolbar_tools\Plugin\Derivative\ExtraLinks->routeExists() (Line: 143)
Drupal\admin_toolbar_tools\Plugin\Derivative\ExtraLinks->getDerivativeDefinitions() (Line: 101)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDerivatives() (Line: 87)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions() (Line: 127)
Drupal\Core\Menu\MenuLinkManager->getDefinitions() (Line: 152)
Drupal\Core\Menu\MenuLinkManager->rebuild() (Line: 61)
admin_toolbar_tools_entity_insert()
call_user_func_array() (Line: 389)
Drupal\Core\Extension\ModuleHandler->{closure:Drupal\Core\Extension\ModuleHandler::invokeAll():388}() (Line: 340)
Drupal\Core\Extension\ModuleHandler->invokeAllWith() (Line: 388)
Drupal\Core\Extension\ModuleHandler->invokeAll() (Line: 336)
Drupal\Core\Config\Entity\ConfigEntityStorage->invokeHook() (Line: 603)
Drupal\Core\Entity\EntityStorageBase->doPostSave() (Line: 528)
Drupal\Core\Entity\EntityStorageBase->save() (Line: 239)
Drupal\Core\Config\Entity\ConfigEntityStorage->save() (Line: 370)
Drupal\Core\Entity\EntityBase->save() (Line: 635)
Drupal\Core\Config\Entity\ConfigEntityBase->save() (Line: 429)
Drupal\Core\Config\ConfigInstaller->createConfiguration() (Line: 175)
Drupal\Core\Config\ConfigInstaller->installDefaultConfig() (Line: 75)
Drupal\Core\ProxyClass\Config\ConfigInstaller->installDefaultConfig() (Line: 448)
Drupal\Core\Extension\ModuleInstaller->doInstall() (Line: 229)
Drupal\Core\Extension\ModuleInstaller->install() (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install() (Line: 186)
Drupal\system\Form\ModulesListConfirmForm->submitForm() (Line: 108)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 45)
Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 615)
Drupal\Core\Form\FormBuilder->processForm() (Line: 347)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::wrapControllerExecutionInRenderContext():121}() (Line: 634)
Drupal\Core\Render\Renderer::{closure:Drupal\Core\Render\Renderer::executeInRenderContext():634}()
Fiber->start() (Line: 635)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::onController():96}() (Line: 183)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 118)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 92)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 53)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 54)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 745)
Drupal\Core\DrupalKernel->handle() (Line: 19)- My environment is:
What needs to be done?
Best,
Orkut
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
yas@orkutmuratyilmaz
Thank you for the bug report. I've created the MR and the automated tests have been passed successfully so let me merge my MR.
Comment #5
yasComment #7
yas@orkutmuratyilmaz
The patch has been merged, so let us close this issue. Thanks!
Comment #9
orkutmuratyilmaz@yas, thanks for the fix:)