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