Site Crashed When Uninstalling Quicktabs

Created on 19 January 2024, 10 months ago
Updated 3 February 2024, 10 months ago

Problem/Motivation

Site crashed when I was uninstalling module quicktabs.

Steps to reproduce

Today I installed the module Quicktabs, and found it not much of use, so I went ahead to uninstall it. During the process, the site crashed. There was no other actions between installing and uninstalling the module.

The error message I exported from database is as below:
a:6:{s:5:”%type";
s:58:”Symfony\Component\Routing\Exception\RouteNotFoundException";
s:8:”@message";
s:39:"Route "quicktabs.admin" does not exist.”;
s:9:”%function";
s:51:”Drupal\Core\Routing\RouteProvider->getRouteByName()";
s:5:”%file";
s:71:”/Users/laptopname/drupal/core/lib/Drupal/Core/Routing/RouteProvider.php";
s:5:"%line";i:206;
s:17:”@backtrace_string";
s:12114:"#0 /Users/laptopname/drupal/core/lib/Drupal/Core/Routing/UrlGenerator.php(443): Drupal\Core\Routing\RouteProvider->getRouteByName(‘quicktabs.admin')

further information:

  • This site is still localhost on MAC;
  • I didn't find any record in table {router}, {config} associated with Quicktabs;
  • After I cleared cache and browser history, I was able to access the site as a visitor, but when trying to log into the site as admin, it crashed;
  • I tried to remove the module folder and reinstall it in my terminal, issue not resolved;
  • There is quicktabs.admin in quicktabs.routing.yml, I tried to # this section, no use. This also indicates the solution is not in quicktabs;
  • I tried to enable the module using drush, but encountered the message: [preflight] Package "drupal/core" is not installed; or unable to connect to database from drush.

I kind of run out of all options that I can think of. I appreciate for any help to get the admin access. currently I don't have other user accounts imported yet, but I am positive this problem is only with admin accounts.
What I don't understand is: since there is no quicktabs record in {router}, why the error is about routing? or maybe other system related records could contain quicktabs?

Proposed resolution

Merge request link

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

3.0

Component
Routing 

Last updated 1 day ago

Created by

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

Comments & Activities

Production build 0.71.5 2024