Uninstall issue

Created on 21 July 2019, over 5 years ago
Updated 6 September 2023, over 1 year ago

When i try to uninstall the module i get this error:

Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test.menu_link_content__menu_item_roles' doesn't exist: SELECT t.* FROM {menu_link_content__menu_item_roles} t WHERE (entity_id IN (:db_condition_placeholder_0, :db_condition_placeholder_1, :db_condition_placeholder_2, :db_condition_placeholder_3, :db_condition_placeholder_4)) AND (deleted = :db_condition_placeholder_5) AND (langcode IN (:db_condition_placeholder_6, :db_condition_placeholder_7, :db_condition_placeholder_8, :db_condition_placeholder_9)) ORDER BY delta ASC; Array ( [:db_condition_placeholder_0] => 3 [:db_condition_placeholder_1] => 6 [:db_condition_placeholder_2] => 7 [:db_condition_placeholder_3] => 8 [:db_condition_placeholder_4] => 9 [:db_condition_placeholder_5] => 0 [:db_condition_placeholder_6] => en [:db_condition_placeholder_7] => ar [:db_condition_placeholder_8] => und [:db_condition_placeholder_9] => zxx ) in Drupal\Core\Entity\Sql\SqlContentEntityStorage->loadFromDedicatedTables() (line 1266 of /var/www/html/test/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇯🇴Jordan ahmad abbad Jordan

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.

  • 🇧🇬Bulgaria alexander.nachev

    Full nonsense. Installed and the site immediately crashed. Trying to uninstall it also crashes the site.
    I had to rebuild what it wanted in the DB to be able to uninstall this module.

    I had to add a column:
    ALTER TABLE `menu_link_content_data` ADD `menu_item_override_children` INT NOT NULL AFTER `revision_translation_affected`;

    and create 2 tables with blank columnts which are attached here

  • Status changed to Closed: cannot reproduce 4 months ago
  • 🇬🇧United Kingdom littlepixiez

    I've just tested this on a blank install of Drupal 8 and I also cannot replicate this. Whether it was a particular issue with Drupal 8 at the time and a misconfiguration between core's "Menu Link Content" and the 1.x-dev version of Menu Item Role Access is difficult to replicate and I cannot find any specific versions of core or this module mentioned in the comment thread.

    In any case, as Drupal 8 is end of life now and the 1.x-dev version requires it...:
    "drupal/core": "^8"
    The 2.x version is released now and is the recommended version. I'd imagine if nobody is getting this issue any more (as we've had no activity for 11 months now), we can safely close this issue as "Cannot reproduce", unless we get more information and then another issue can be created.

  • 🇳🇬Nigeria chike Nigeria

    I just installed on Drupal 10.3.10 and it won't uninstall. Luckily I took a db dump before installing so I have to roll back the site.

Production build 0.71.5 2024