Class ‘AdminLoginController’ not found

In recent days, an error occurred up on many Prestashop websites making access to the back office login page impossible.

PHP Fatal error: Class 'AdminLoginController' not found in /.../.../public_html/classes/controller/Controller.php on line 134

The main cause of this error simply is that the contents of a PHP file have been fully emptied.

Solution is very simple. You need to restore an original file which is located in /controllers/admin.

Original file you can find right here.

Additional information

You can revoke the writable rights of the file to prevent this problem in the future.

3 thoughts on “Class ‘AdminLoginController’ not found”

    1. Identical error? Did you try to clear cache via admin panel and/or delete class_index.php in /cache folder?

Leave a Reply

Your email address will not be published. Required fields are marked *