Jump to content

FatalErrorException in ErrorHandler.php line 47


Recommended Posts

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 use

hope someone can help me!

my Version is 1.7.1 and debug mode is on

 

Thanks

Link to comment
Share on other sites

  • 5 weeks later...

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 :o

 

EDIT: just replaced both files with files from a functioning shop, without any result.

Edited by Ruup (see edit history)
Link to comment
Share on other sites

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... :wacko:

post-1409054-0-96799500-1498144900_thumb.png

Edited by Ruup (see edit history)
Link to comment
Share on other sites

  • 1 month later...
  • 2 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...