Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
michalm_merged Posted January 12 Posted January 12 I've have a lot of old hooks, that are left over from outdated plugins, how I can delete them?
teraßyte Posted January 12 Posted January 12 Usually, you'd just uninstall the old/disabled plugins. Or are you saying you have extra folders/files in the /plugins folder after uninstalling the plugins?
michalm_merged Posted January 12 Author Posted January 12 files I can delete, but in Admin CP I have 53 3rd part hooks, and most of them ale linked to non existing files.
Adriano Faria Posted January 12 Posted January 12 Most likely they are leftover records in core_hooks table. michalm_merged 1
teraßyte Posted January 12 Posted January 12 (edited) How did you even end up with 53 unlinked/leftover hook files in the table? 🤨 As long as you install/uninstall the plugins correctly, it shouldn't happen. The first step would be to figure out how it happened to prevent it. Edited January 12 by teraßyte
michalm_merged Posted January 12 Author Posted January 12 (edited) 7 minutes ago, teraßyte said: How did you even end up with 53 unlinked/leftover hook files in the table? 🤨 As long as you install/uninstall the plugins correctly, it shouldn't happen. The first step would be to figure out how it happened to prevent it. it's an old forum. running almost 20 years, so it's time to make some cleanup Edited January 12 by michalm_merged
Adriano Faria Posted January 13 Posted January 13 30 minutes ago, teraßyte said: How did you even end up with 53 unlinked/leftover hook files in the table? 🤨 As long as you install/uninstall the plugins correctly, it shouldn't happen. The first step would be to figure out how it happened to prevent it. I saw one like this today. Apparently, the user deleted the app folder without uninstalling it and then it shows a couple of “unlinked” hooks in the Support section and the Not Installed App (or something) in the Applications page.
michalm_merged Posted January 13 Author Posted January 13 I've uninstalled apps that were disabled after the update, all data tables are present in db.
teraßyte Posted January 13 Posted January 13 Ah, that makes sense then. They're outdated applications' hooks rather than plugins' ones.
Adriano Faria Posted January 13 Posted January 13 34 minutes ago, teraßyte said: Ah, that makes sense then. They're outdated applications' hooks rather than plugins' ones. In my case, were hooks from the outdated app.
Miss_B Posted January 13 Posted January 13 10 hours ago, michalm_merged said: I've uninstalled apps that were disabled after the update, all data tables are present in db. In that case you will have to delete all the database stuff added by third party apps and hooks manually. Make sure to make a backup of the database beforehand though.
Recommended Posts