razvypp Posted October 1, 2018 Share Posted October 1, 2018 (edited) If you have problems with the prestashop admin today, i want to tell you the reason and give you a solution. Reason: it's because prestashop connects to addons.prestashop.com to download latest modules, get info about your account if you are logged in, etc and as you probably noticed addons.prestashop.com is loading very slow also. Fix: The fix is very easy but you need to be able to edit a php file in the FTP, just go to CLases/Tools.php go to line 3371 or where you see protected static $is_addons_up = true; public static function addonsRequest($request, $params = array()) { Just add a return false; when the function starts, it should look like this protected static $is_addons_up = true; public static function addonsRequest($request, $params = array()) { return false; Afterwards, clear the cache or delete the cache_index.php file from /cache Edited October 1, 2018 by razvypp (see edit history) 1 Link to comment Share on other sites More sharing options...
Dan Posted October 1, 2018 Share Posted October 1, 2018 (edited) My version looks like this: protected static $is_addons_up = true; public static function addonsRequest($request, $params = array()) { if (!self::$is_addons_up) { return false; } so the new version should look like this? protected static $is_addons_up = true; public static function addonsRequest($request, $params = array()) { { return false; } Edited October 1, 2018 by Dan (see edit history) Link to comment Share on other sites More sharing options...
razvypp Posted October 1, 2018 Author Share Posted October 1, 2018 Mine looks the same protected static $is_addons_up = true; public static function addonsRequest($request, $params = array()) { return false; // PUT THIS JUST AFTER THE FIRST { if (!self::$is_addons_up) { return false; } ... .... .... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now