Jump to content

Symfony error: how can I solve this error ?


Frevab

Recommended Posts

Hi there

I wanted to open my modules page in back office after restoring my webshop and database and got following error:

 

[1] Symfony\Component\Debug\Exception\FatalErrorException: Error: Cannot declare class SampleDataMenu, because the name is already in use
    at n/a
        in /var/www/vhosts/abcdefg.nl/httpdocs/abcdefg.nl/modules/owlmegamenu/sql line 27

 

How can I solve this.

It says "because the name is already in use" and that "at n/a"

 

In this SampleDataMenu.php file on line 27 its says "class SampleDataMenu" and line 28up are a lot of line for different sql tabels. See attached file

SampleDataMenu.txt

 

Sorry but cannot upload this .php file saved as .txt file. Got a server error on this forum page.

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

  • 1 year 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...