I was recently working on a site, and kept getting fatal errors whenever I tried to install a module. I noticed that modeler_api was mentioned in the output, and remembered installing it before the problems began. I uninstalled it, and the problems went away.
The full error output is:
RuntimeException: Recursive router rebuild detected. in Drupal\Core\Routing\RouteBuilder->rebuild() (line 121 of core/lib/Drupal/Core/Routing/RouteBuilder.php).
Drupal\Core\ProxyClass\Routing\RouteBuilder->rebuild() (Line: 67)
Drupal\Core\Routing\RouteProviderLazyBuilder->getRouteProvider() (Line: 83)
Drupal\Core\Routing\RouteProviderLazyBuilder->getRouteByName() (Line: 541)
Drupal\modeler_api\Api->getRouteByName() (Line: 336)
Drupal\modeler_api\Hook\EntityHooks->systemInfoAlter() (Line: 474)
Drupal\Core\Extension\ModuleHandler->alter() (Line: 322)
Drupal\Core\Extension\ExtensionList->doList() (Line: 155)
Drupal\Core\Extension\ModuleExtensionList->doList() (Line: 284)
Drupal\Core\Extension\ExtensionList->getList() (Line: 408)
Drupal\Core\Extension\ExtensionList->recalculateInfo() (Line: 368)
Drupal\Core\Extension\ExtensionList->getAllAvailableInfo() (Line: 396)
Drupal\Core\Extension\ExtensionList->getAllInstalledInfo() (Line: 437)
Drupal\node\NodeViewsData->getNodeAccessImplementations() (Line: 99)
Drupal\node\NodeViewsData->getViewsData() (Line: 167)
Drupal\views\Hook\ViewsViewsHooks->viewsData() (Line: 219)
Drupal\views\ViewsData->Drupal\views\{closure}() (Line: 357)
Drupal\Core\Extension\ModuleHandler->invokeAllWith() (Line: 218)
Drupal\views\ViewsData->getData() (Line: 142)
Drupal\views\ViewsData->get() (Line: 94)
Drupal\views\Plugin\Derivative\ViewsEntityRow->getDerivativeDefinitions() (Line: 101)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDerivatives() (Line: 87)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions() (Line: 340)
Drupal\Core\Plugin\DefaultPluginManager->findDefinitions() (Line: 216)
Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 25)
Drupal\Core\Plugin\DefaultPluginManager->getDefinition() (Line: 16)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance() (Line: 85)
Drupal\Component\Plugin\PluginManagerBase->createInstance() (Line: 827)
Drupal\views\Plugin\views\display\DisplayPluginBase->getPlugin() (Line: 133)
Drupal\views\Plugin\views\style\StylePluginBase->init() (Line: 830)
Drupal\views\Plugin\views\display\DisplayPluginBase->getPlugin() (Line: 349)
Drupal\rest\Plugin\views\display\RestExport->collectRoutes() (Line: 119)
Drupal\views\EventSubscriber\RouteSubscriber->routes()
call_user_func() (Line: 146)
Drupal\Core\Routing\RouteBuilder->rebuild() (Line: 83)
Drupal\Core\ProxyClass\Routing\RouteBuilder->rebuild() (Line: 246)
Drupal\Core\Extension\ModuleInstaller->install() (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install() (Line: 508)
Drupal\system\Form\ModulesListForm->submitForm()
call_user_func_array() (Line: 105)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 43)
Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 589)
Drupal\Core\Form\FormBuilder->processForm() (Line: 321)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (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: 116)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 90)
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: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 716)
Drupal\Core\DrupalKernel->handle() (Line: 19)It's also worth noting that after the error, the modules would show as installed, but would exhibit problems. For example, the menu items would not be visible until after a cache clear, and I would see warnings about entity definition mismatches.
Unfortunately I don't yet know how specifically to reproduce the problem. The site in question had a large number of modules enabled so I suspect there is an incompatibility with one of them.
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.