SQLSTATE[42S02]: Base table or view not found: 1146 Table 'site.redirect' doesn't exist: SELECT rid FROM {redirect}

Created on 24 June 2019, almost 6 years ago
Updated 1 July 2023, almost 2 years ago

My site got down after installing this module. After looking into the error log, I found it is throwing below error:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'site.redirect' doesn't exist: SELECT rid FROM {redirect}

Checked the module .install file as well. And could not find schema for the same.

💬 Support request
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India irfworld

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇫🇷France hassebasse

    D10.0.1 and PHP8.1

    The site went down. Just to drush pmu didn't help, I had to remove with composer and then drush cr.

    So what is this about?

    Error in Apache errorlog

    AH01071: Got error 'PHP message: Uncaught PHP Exception Drupal\\Core\\Database\\DatabaseExceptionWrapper: "SQLSTATE[42S02]: Base table or view not found: 1146 Table 'site_site.redirect' doesn't exist: SELECT rid FROM "redirect" WHERE hash IN (:hashes__0, :hashes__1) ORDER BY LENGTH(redirect_source__query) DESC; Array\n(\n [:hashes__0] => a5I25SeAk90M-5bJLHnwsFlrAYFr7zINDZ9EqqE373g\n [:hashes__1] => bV7cMvyZ89yvlNLYL938O97yBXE9D8hRNF7i2MHxWVg\n)\n" at /home/site-site/public_html/drupal/web/core/modules/mysql/src/Driver/Database/mysql/ExceptionHandler.php line 46'

  • 🇺🇸United States will kirchheimer New Orleans

    Did you try the: drush entup

  • 🇫🇷France hassebasse

    Command "entup" is not defined.

Production build 0.71.5 2024