Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I installed Rooms to see if it will work for my use case, but it does not. When I try to uninstall the Rooms Booking Manger, I get an error. I have attached a screenshot.
I can't uninstall the rest of Rooms or Commerce modules until this one is gone.
Comment | File | Size | Author |
---|---|---|---|
#2 | rooms booking manager error.png | 14.63 KB | Eric Chapuis |
rooms-uninstall-error.PNG | 45.87 KB | skoehn180 |
Comments
Comment #1
Eric Chapuis CreditAttribution: Eric Chapuis commentedHi,
I have the exact same problem/error. Is there any way to "manually" bypass this error?
Thanks for your support,
Éric
Fatal error: Call to undefined function commerce_product_delete() in /home/content/f/a/h/fahlken/html/eric/sites/all/modules/rooms/modules/rooms_booking_manager/rooms_booking_manager.install on line 20
Comment #2
Eric Chapuis CreditAttribution: Eric Chapuis commentedAfter getting the preceding error, I tried enabling back Rooms Booking Manager and got the following error (pls see attached).
Also, After going back to the modules management page, the Rooms Booking manager was enabled... It seemed to work.
Not sure if this helps, but I thought I'd document it anyhow. Thanks.
Comment #3
Eric Chapuis CreditAttribution: Eric Chapuis commentedAfter trying to uninstall the module, then enabling it back (see previous two posts), the Rooms Booking manager shows as "enabled" in the modules mgt page. However, it is not working (there is no search/book functionality on the page).
Any suggestion to fix that?
Thanks for your help,
Eric
Comment #4
phazerz CreditAttribution: phazerz commentedI've been through that...
If I remember well I carefully uninstalled modules one by one not beginning by the Manager.
I've deleted all booking, orders, customer profiles first and cleaned caches too.
Good Luck
Comment #5
acrollet CreditAttribution: acrollet commentednb: the error posted by OP should not occur if the commerce_product module is enabled before uninstalling rooms booking manager. We'll look into a solution...
Comment #6
acrollet CreditAttribution: acrollet commentedSetting to minor since there's a workaround.
Comment #7
acrollet CreditAttribution: acrollet commentedThe latest -dev version has been updated with code that will allow all rooms modules to be completely uninstalled. I've also added uninstallation instructions to the README.
Comment #8
juves CreditAttribution: juves commentedI disabled sub modules in reverse order
I deleted two fields from field_config, because it was not possible to disable Rooms module (https://www.drupal.org/node/2898095)
I didn't touch Commerce
I ran cron after each step several times, cleared caches
I still can not uninstall rooms booking manager. It says an error has occurred, try reload the page
I have rooms 1.7-85dev
Can I delete it manually?