Update.php & Cache leads to Exception

Created on 8 December 2017, over 7 years ago
Updated 4 February 2025, 2 months ago

Drupal Core: 8.4.3
Updating to Module V: 8.x-1.1 from V: 8.x-1.0

Getting error: when try to clear cache & running update.php

The website encountered an unexpected error. Please try again later.
Error: Call to a member function getPath() on null in Drupal\config_translation\ConfigNamesMapper->getOverviewRoute() (line 233 of core/modules/config_translation/src/ConfigNamesMapper.php).
Drupal\config_translation\ConfigNamesMapper->getOverviewRoute() (Line: 39)
Drupal\config_translation\Routing\RouteSubscriber->alterRoutes(Object) (Line: 37)
Drupal\Core\Routing\RouteSubscriberBase->onAlterRoutes(Object, 'routing.route_alter', Object) (Line: 108)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('routing.route_alter', Object) (Line: 184)
Drupal\Core\Routing\RouteBuilder->rebuild() (Line: 83)
Drupal\Core\ProxyClass\Routing\RouteBuilder->rebuild() (Line: 1157)
drupal_flush_all_caches() (Line: 350)
Drupal\system\Controller\DbUpdateController->selection(Object) (Line: 164)
Drupal\system\Controller\DbUpdateController->handle('selection', Object)
call_user_func_array(Array, Array) (Line: 110)
Drupal\Core\Update\UpdateKernel->handleRaw(Object) (Line: 73)
Drupal\Core\Update\UpdateKernel->handle(Object) (Line: 28)

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇳India arunverma

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024