SQL error: Dismissal table does not exist

Created on 16 May 2024, 6 months ago
Updated 17 May 2024, 6 months ago

I'm attempting to utilize the Editoria11y module, but it keeps breaking my site. I get the below error:

Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'my-site.editoria11y_dismissals' doesn't exist: SELECT "editoria11y_dismissals"."uid" AS "uid", "editoria11y_dismissals"."result_key" AS "result_key", "editoria11y_dismissals"."element_id" AS "element_id", "editoria11y_dismissals"."dismissal_status" AS "dismissal_status", "editoria11y_dismissals"."page_path" AS "page_path" FROM "editoria11y_dismissals" "editoria11y_dismissals" WHERE "page_path" = :db_condition_placeholder_0; Array ( [:db_condition_placeholder_0] => /users/dstach ) in Drupal\editoria11y\DismissalsOnPage->getDismissals() (line 50 of /var/my-site/web/modules/contrib/editoria11y/src/DismissalsOnPage.php).

πŸ’¬ Support request
Status

Closed: works as designed

Version

2.1

Component

Bugs

Created by

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

Comments & Activities

  • Issue created by @dstach
  • Assigned to itmaybejj
  • πŸ‡ΊπŸ‡ΈUnited States itmaybejj

    That's...really quite troubling. I'd...assume at first glance that the module install hooks failed altogether, or that update hooks haven't run.

    Could you tell me a LOT more about how I might set up an environment to reproduce this? Fresh install or upgrade, anything you can tell me about your host, and everything in "General System Information" under
    /admin/reports/status

    Feel free to email me if you don't want that public (jjameson at princeton.edu).

  • πŸ‡ΊπŸ‡ΈUnited States itmaybejj

    Oh and the other thing that would really, really help me would be seeing if there are error log messages at /admin/reports/dblog right after enabling the module. The one time I've seen something like this in the past was when a very particular PHP/SQL combination didn't like something in the table definition and refused to create the table.

  • Status changed to Closed: works as designed 6 months ago
  • πŸ‡ΊπŸ‡ΈUnited States itmaybejj

    We discussed offline; it looks like the issue isn't coming from the Editoria11y codebase.

Production build 0.71.5 2024