gazy98 Posted May 13, 2017 Share Posted May 13, 2017 Hallo people! i have a Problem since i tried to change my thema to other one... I can enter my website but i cant get into my backend. Im always getting this message, FatalErrorException in ErrorHandler.php line 47: Compile Error: Cannot declare class Symfony\Component\Debug\ErrorHandler, because the name is already in usein ErrorHandler.php line 47 hope someone can help me! my Version is 1.7.1 and debug mode is on Thanks Link to comment Share on other sites More sharing options...
arthur69 Posted May 17, 2017 Share Posted May 17, 2017 Hello ! I've got the same error on debug mode. When debug mode is "false" My front office work perfectly but my backoffice is on Error 500... Link to comment Share on other sites More sharing options...
MariaInes Posted June 16, 2017 Share Posted June 16, 2017 Could you resolve this? same problema here Link to comment Share on other sites More sharing options...
Ruup Posted June 21, 2017 Share Posted June 21, 2017 (edited) Same here.... Sorry, have just found this post. I've already posted it therefore itself. Apparently I'm not alone we are very curious about the solution EDIT: just replaced both files with files from a functioning shop, without any result. Edited June 21, 2017 by Ruup (see edit history) Link to comment Share on other sites More sharing options...
Ruup Posted June 22, 2017 Share Posted June 22, 2017 (edited) Hi, just resolved te problem. Open the ErrorHandler.php file in: /vendor/symfony/symfony/src/Symfony/Component/Debug: use Symfony\Component\Debug\Exception\FatalErrorException; Line 17 remove ''use'' and save the file. Refresh your site and you''ll see a white screen. Re-type ''use'' and save again. Refresh and you can access your BO again. On my website it worked. Hopefully it will work for you too! EDIT: With debug mode off the screen becomes blank again... Edited June 28, 2017 by Ruup (see edit history) Link to comment Share on other sites More sharing options...
radickal84 Posted August 15, 2017 Share Posted August 15, 2017 Hello, I'm not a PrestaShop programmer but I came here because I had same problem in Symfony2 framework. I solved the problem by removing my \cache\dev folder and reestarting apache and refreshing again. Hope it helps! 1 1 Link to comment Share on other sites More sharing options...
lototo Posted November 29, 2019 Share Posted November 29, 2019 Remove the classes.php and classes.map from the app/cache/dev app/cache/prod folders 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