Missing Database Column

Created on 15 June 2022, almost 3 years ago
Updated 28 June 2023, almost 2 years ago

I've been updating from Drupal 8 to Drupal 9 using Rector and modifying any deprecations for Drupal 9.

I've updated Drupal to 9.2.9 and I am being thrown this error:

Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'e.menu' in 'where clause': SELECT "t"."descendant" AS "descendant" FROM "colossal_menu_link_tree" "t" INNER JOIN "colossal_menu_link" "e" ON t.ancestor = e.id WHERE ("t"."ancestor" = :db_condition_placeholder_0) AND ("e"."menu" = :db_condition_placeholder_1) ORDER BY "t"."depth" ASC, "e"."weight" ASC; Array ( [:db_condition_placeholder_0] => [:db_condition_placeholder_1] => main_menu ) in Drupal\colossal_menu\Menu\MenuTreeStorage->getExpanded() (line 337 of /app/web/modules/contrib/colossal_menu/src/Menu/MenuTreeStorage.php).

If logged in, the admin side of Drupal works (only a select few pages), but the front-end does not work at all. I have tried a few methods to try and get this working such as, disabling Colossal Menu (which isn't a long-term solution as the site relies upon Colossal Menu for its menu system), checking to see if the Database Column exists but I can't seem to find a solution that removes the error.

If anybody has any ideas, that would be great.

Thank you!

πŸ› Bug report
Status

Closed: cannot reproduce

Version

2.1

Component

Code

Created by

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.

Production build 0.71.5 2024