Unfortunately, this is probably due to a known flaw in XenForo's add-on system. If an error occurs during the add-on uninstall, it still removes the add-on from the list so you can't try to remove it again later. I have reported it to the XenForo devs in the past.
If you can't reinstall VaultWiki and attempt to uninstall again using the newest version, then you will have to manually remove all references to VaultWiki from your database.
Remove all tables that start with "vw_"
Then run the following queries. Run each one individually, because if one of them was completed already then it will fail. I skipped lines between each one:
Code:
ALTER TABLE xf_forum DROP COLUMN vw_options;
DELETE FROM xf_bb_code WHERE vw_varname LIKE 'vwp\_*';
ALTER TABLE xf_bb_code DROP COLUMN vw_options;
ALTER TABLE xf_bb_code DROP COLUMN vw_extra;
ALTER TABLE xf_bb_code DROP COLUMN vw_varname;
Then run the following queries. Again run each one individually:
Code:
DELETE FROM xf_content_type WHERE addon_id = 'vaultwiki';
DELETE FROM xf_content_type_field WHERE content_type IN ('vwpage', 'vwcomment');
DELETE FROM xf_admin_search_type WHERE search_type IN ('vwArea', 'vwBlock', 'vwLanguage', 'vwPrefix', 'vwTopic');
DELETE FROM xf_data_registry WHERE data_key LIKE 'vw\_%';
DELETE FROM xf_liked_content WHERE content_type IN ('vwpage', 'vwcomment', 'vwrevision');
DELETE FROM xf_news_feed WHERE content_type IN ('vwpage', 'vwcomment');
DELETE FROM xf_search_index WHERE content_type IN ('vwpage', 'vwcomment');
UPDATE xf_attachment SET content_id = 0, unassociated = 1 WHERE content_type = 'vwcomment';
After that, you will need to trigger the related caches to rebuild themselves. Choose any other add-on you have installed, disable it, then re-enable it.
It might also help to remove the VaultWiki files from your server:
https://www.vaultwiki.org/pages/Help...ltWiki#XenForo