View Full Version : Panic!! Need help
fortforum
05-22-2018, 12:48 PM
Tried to uninstall a plugin and this happened.
Not able to reach forum at this point. I can reach admincp.
PHP Warning: require(..../includes/yilmaz/cookie_consent/hooks/cache_templates.php): failed to open stream: No such file or directory in ..../includes/class_bootstrap.php(1422) : eval()'d code on line 11
Fatal error: require(): Failed opening required '/home/p/postvagn/www/sjk-forum/includes/yilmaz/cookie_consent/hooks/cache_templates.php' (include_path='./:/usr/local/lib/php') in /home/p/postvagn/www/sjk-forum/includes/class_bootstrap.php(1422) : eval()'d code on line 11
TheLastSuperman
05-22-2018, 02:18 PM
Tried to uninstall a plugin and this happened.
Not able to reach forum at this point. I can reach admincp.
PHP Warning: require(..../includes/yilmaz/cookie_consent/hooks/cache_templates.php): failed to open stream: No such file or directory in ..../includes/class_bootstrap.php(1422) : eval()'d code on line 11
Fatal error: require(): Failed opening required '/home/p/postvagn/www/sjk-forum/includes/yilmaz/cookie_consent/hooks/cache_templates.php' (include_path='./:/usr/local/lib/php') in /home/p/postvagn/www/sjk-forum/includes/class_bootstrap.php(1422) : eval()'d code on line 11
That means you didn't fully uninstall the plugin.
Most plugins are fine when uninstalled if files are left on the server (but it's best to always remove them i.e. no further need for them and on rare occasions the file(s) themselves could be a security vulnerability if retained) however when you uninstall some plugins you must specifically:
1) Uninstall from Product Manager in AdminCP
2) Uninstall all files related to modification from server.
Failure to do so will result in errors as you've seen.
Follow this to help recover access to your admin control panel - https://vbulletin.org/forum/showthread.php?t=259619
Edit: Also please note that on super-duper (lol) rare occasions disabling hooks via the code snippet in config.php will not always work either, there are a handful of mods that won't 100% disable even with the code added to config.php so in those situations you must uninstall said mod entirely (backup the related tables so you don't permanently lose all the mods data if planning to get it back anytime in the future).
fortforum
05-22-2018, 05:25 PM
Thanx. That was a nightmare.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.