Call to a member function getPath() on null in Drupal\config_translation\ConfigNamesMapper->getOverviewRoute()
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3014901. -->
Reported by: [travisc](https://www.drupal.org/user/6907)
>>>
<p>I'm getting the following error when I try install on a multilingual site.</p>
<p>The website encountered an unexpected error. Please try again later.<br>
Error: Call to a member function getPath() on null in Drupal\config_translation\ConfigNamesMapper->getOverviewRoute() (line 247 of core/modules/config_translation/src/ConfigNamesMapper.php).<br>
Drupal\config_translation\ConfigNamesMapper->getOverviewRoute() (Line: 39)<br>
Drupal\config_translation\Routing\RouteSubscriber->alterRoutes(Object) (Line: 37)<br>
Drupal\Core\Routing\RouteSubscriberBase->onAlterRoutes(Object, 'routing.route_alter', Object)<br>
call_user_func(Array, Object, 'routing.route_alter', Object) (Line: 111)<br>
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('routing.route_alter', Object) (Line: 184)<br>
Drupal\Core\Routing\RouteBuilder->rebuild() (Line: 83)<br>
Drupal\Core\ProxyClass\Routing\RouteBuilder->rebuild() (Line: 322)<br>
Drupal\Core\Extension\ModuleInstaller->install(Array, 1) (Line: 83)<br>
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array) (Line: 458)<br>
Drupal\system\Form\ModulesListForm->submitForm(Array, Object)<br>
call_user_func_array(Array, Array) (Line: 111)<br>
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)<br>
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 589)<br>
Drupal\Core\Form\FormBuilder->processForm('system_modules', Array, Object) (Line: 318)<br>
Drupal\Core\Form\FormBuilder->buildForm('system_modules', Object) (Line: 93)<br>
Drupal\Core\Controller\FormController->getContentResult(Object, Object)<br>
call_user_func_array(Array, Array) (Line: 123)<br>
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 582)<br>
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)<br>
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)<br>
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 151)<br>
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)<br>
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)<br>
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)<br>
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 99)<br>
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78)<br>
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 44)<br>
Drupal\services\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 84)<br>
Drupal\shield\ShieldMiddleware->handle(Object, 1, 1) (Line: 47)<br>
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)<br>
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)<br>
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 669)<br>
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)</p>
issue