Can't disable BAT using Drush

Created on 19 September 2022, over 2 years ago
Updated 21 March 2023, about 2 years ago

Problem/Motivation

Lots of issues trying to get this module enabled.

I have Bee and BAT and patch to allow services to work with D9.

$ vendor/bin/drush en bee
The following module(s) will be enabled: bee, bat_booking, bat_event, bat_unit, bat, bat_event_series, bat_event_ui, bat_fullcalendar, bat_api
 Do you want to continue? (yes/no) [yes]:
 >
 [success] Successfully enabled: bee, bat_booking, bat_event, bat_unit, bat, bat_event_series, bat_event_ui, bat_fullcalendar, bat_api
Peter@WORK5 MINGW64 /e/www/Gabriele/bee2
$ vendor/bin/drush cr
 [success] Cache rebuild complete.

After this site is WSOD on every page; including recent errors.

trying to uninstall now fails:

Peter@WORK5 MINGW64 /e/www/Gabriele/bee2
$ vendor/bin/drush pmu bat
The following extensions will be uninstalled: bat, bat_unit, bat_event, bat_booking, bat_api, bat_fullcalendar, bat_event_series, bat_event_ui, bee
 Do you want to continue? (yes/no) [yes]:
 >
In ModuleInstaller.php line 432:
  The following reasons prevent the modules from being uninstalled: There is content for the entity type: State. <a href="/a
  dmin/modules/uninstall/entity/state">Remove state entities</a>.

I then use drush to delete all the State entities that install created, then i am able to uninstall bat/bee. I can now see the original error causing WSOD:

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "bat_type_bundle" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 139 of E:\www\Gabriele\bee2\web\core\lib\Drupal\Core\Entity\EntityTypeManager.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.3

Component

Code

Created by

🇨🇦Canada liquidcms

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