While installing in my website (http://enconengineers.in/), it abruptly terminated with the following message. I re-entered the site /admin route and found the Google Analytic is not listed under configuration/system.

The website encountered an unexpected error. Please try again later.RuntimeException: Recursive router rebuild detected. in Drupal\Core\Routing\RouteBuilder->rebuild() (line 121 of core/lib/Drupal/Core/Routing/RouteBuilder.php).

Comments

enconengineers created an issue. See original summary.

hass’s picture

Status: Active » Postponed (maintainer needs more info)

Are you using an unsupported ga dev build or what version are you using?

This sounds more like a core issue and I have no idea how to reproduce.

Please share a repro plan.

enconengineers’s picture

I am using the latest version of Drupal 8.4.3 core. Thereafter I installed the GA version 8x2.2 (release date 25Sep 2017) for the first time in my website. The GA Module got installed properly but while enabling the installed module through EXTENT ---> INSTALL NEW MODULES ... my website site went-off as if it crashed with only the above-mentioned error message in the screen.

I could re-enter the website through http://enconengineers/in/admin route. Thereafter I checked at the list of the installed modules through REPORTS --> AVAILABLE UPDATES. It is showing Google Analytic 8x2.2 properly installed and up to date.

However when I wanted to go to the GA setting page through CONFIGURATION ---> SYSTEM ... the "Google Analytics" does not appear there and I only get "basic site settings" and "cron".

I further checked at REPORT --> STATUS REPORT ...., and as soon as I press the "Status Report" button .... again the site goes-off like a crash and the following error message appears in the screen.
////////////
The website encountered an unexpected error. Please try again later.Symfony\Component\Routing\Exception\RouteNotFoundException: Route "google_analytics.admin_settings_form" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 190 of core/lib/Drupal/Core/Routing/RouteProvider.php).
////////////
I uninstalled the Google Analytics (Extent --> Uninstall Module) and went to Report --> Status Report. I am now able to view the status report and everything is OK as per the Status Report.

hass’s picture

Version: 8.x-3.x-dev » 8.x-2.x-dev
Priority: Major » Normal

If you run 8.x-2.2 you need to select this release or branch and not a random one.

Please identify the root cause and share a patch as it is not reproducible at all on my end and all tests complete just fine. Maybe there is conflicting module that has a bug.

enconengineers’s picture

I am using Zircon 8x1.0-rc1 theme and followings are the list of modules, all are up to date, except MetaTag-8x 1.0 since the higher meta tag versions crashed while installing and the problem is well debated under Metatag. I am awaiting x1.4 release for the update.

Regarding submitting you a "PATCH" if you kindly let me know how to generate that, so that I could do that and submit the same to you. Thanks for your substantial support on this issue.

Admin Toolbar
Ctools
Check List API
Crop API
Easy breadcrump
Focal point
Metatag -8x 1.0
Pathauto
Realtime SEO for Drupal
Redirect
SEO Checklist
Simple XML Sitemap
Sitemap
Taxonomy
Token

hass’s picture

If you do not know what a patch is - it may be difficult to create one.

Try installing drupal from scratch. Enable ga and than one after the other module and see when it breaks. 100% not when you enable ga.

hass’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)