Closed alexanderloewe closed 1 year ago
Thanks for reporting! This looks like an issue with the digital products plugin so I've moved this over there.
The elementindexsettings
table was removed in Craft 4, but there's a leftover reference to it in this plugin. That causes an exception to be thrown when uninstalling the first time which prevents the uninstall from reporting as successful. Subsequent uninstall attempts will then throw the exception you're seeing.
When you get this error the plugin is effectively uninstalled though. The foreign keys and tables have been dropped. If the uninstall failing isn't causing other errors, you can safely ignore this error.
The problem is, by uninstalling the plugin by hand some informations are left in the db or in the project config files.
In my testing, the original exception was thrown here. By that point, the DB should be cleaned up. What information are you seeing left over in the DB and project config?
Because when i rebuild the project config files from the database here is still some information about the plugin inside the files.
Sorry, I should have been more clear. What specific information are you still seeing in the files?
@alexanderloewe Could you please open a new issue in this repo with steps to reproduce.
This issue is closed due to the original bug being fixed in the next release.
This was fixed in 3.2.0 just released.
What happened?
I'm trying to uninstall the digital-products plugin, but i can't uninstall it. I have tried it in different installations, via CP and via CLI.
Craft CMS version
Craft CMS 4.3.5
PHP version
8.1
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
-