OliveStudio / olivemenus

A powerful menus plugin for Craft CMS built for the need of simplicity and flexibility
MIT License
40 stars 22 forks source link

Plugin uninstallation fails #26

Closed mtnorthrop closed 5 years ago

mtnorthrop commented 5 years ago

Trying to uninstall this plugin causes an error in Craft 3.

The reason appears to be that the migration that drops the olivemenus table is run before the migration that drops the olivemenus_items table.

This causes the uninstallation process to fail because the olivemenus_items table has a foreign key constraint on the olivemenus table, which means the olivemenus table cannot be dropped as long as the olivemenus_items table exists.

Until this issue has been fixed in a future update, the solution to this is to drop the olivemenus_items table manually first, and afterwards uninstall this plugin through the Craft control panel.

alinistrate commented 5 years ago

Hello @mtnorthrop Thank you for catching this issue. We fixed it and pushed a new release. Please use the 1.0.7 version.

Thanks, Alin