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-&gt;getOverviewRoute() (line 247 of core/modules/config_translation/src/ConfigNamesMapper.php).<br> Drupal\config_translation\ConfigNamesMapper-&gt;getOverviewRoute() (Line: 39)<br> Drupal\config_translation\Routing\RouteSubscriber-&gt;alterRoutes(Object) (Line: 37)<br> Drupal\Core\Routing\RouteSubscriberBase-&gt;onAlterRoutes(Object, 'routing.route_alter', Object)<br> call_user_func(Array, Object, 'routing.route_alter', Object) (Line: 111)<br> Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher-&gt;dispatch('routing.route_alter', Object) (Line: 184)<br> Drupal\Core\Routing\RouteBuilder-&gt;rebuild() (Line: 83)<br> Drupal\Core\ProxyClass\Routing\RouteBuilder-&gt;rebuild() (Line: 322)<br> Drupal\Core\Extension\ModuleInstaller-&gt;install(Array, 1) (Line: 83)<br> Drupal\Core\ProxyClass\Extension\ModuleInstaller-&gt;install(Array) (Line: 458)<br> Drupal\system\Form\ModulesListForm-&gt;submitForm(Array, Object)<br> call_user_func_array(Array, Array) (Line: 111)<br> Drupal\Core\Form\FormSubmitter-&gt;executeSubmitHandlers(Array, Object) (Line: 51)<br> Drupal\Core\Form\FormSubmitter-&gt;doSubmitForm(Array, Object) (Line: 589)<br> Drupal\Core\Form\FormBuilder-&gt;processForm('system_modules', Array, Object) (Line: 318)<br> Drupal\Core\Form\FormBuilder-&gt;buildForm('system_modules', Object) (Line: 93)<br> Drupal\Core\Controller\FormController-&gt;getContentResult(Object, Object)<br> call_user_func_array(Array, Array) (Line: 123)<br> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;Drupal\Core\EventSubscriber\{closure}() (Line: 582)<br> Drupal\Core\Render\Renderer-&gt;executeInRenderContext(Object, Object) (Line: 124)<br> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)<br> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;Drupal\Core\EventSubscriber\{closure}() (Line: 151)<br> Symfony\Component\HttpKernel\HttpKernel-&gt;handleRaw(Object, 1) (Line: 68)<br> Symfony\Component\HttpKernel\HttpKernel-&gt;handle(Object, 1, 1) (Line: 57)<br> Drupal\Core\StackMiddleware\Session-&gt;handle(Object, 1, 1) (Line: 47)<br> Drupal\Core\StackMiddleware\KernelPreHandle-&gt;handle(Object, 1, 1) (Line: 99)<br> Drupal\page_cache\StackMiddleware\PageCache-&gt;pass(Object, 1, 1) (Line: 78)<br> Drupal\page_cache\StackMiddleware\PageCache-&gt;handle(Object, 1, 1) (Line: 44)<br> Drupal\services\StackMiddleware\FormatSetter-&gt;handle(Object, 1, 1) (Line: 84)<br> Drupal\shield\ShieldMiddleware-&gt;handle(Object, 1, 1) (Line: 47)<br> Drupal\Core\StackMiddleware\ReverseProxyMiddleware-&gt;handle(Object, 1, 1) (Line: 52)<br> Drupal\Core\StackMiddleware\NegotiationMiddleware-&gt;handle(Object, 1, 1) (Line: 23)<br> Stack\StackedHttpKernel-&gt;handle(Object, 1, 1) (Line: 669)<br> Drupal\Core\DrupalKernel-&gt;handle(Object) (Line: 19)</p>
issue