Compile Error: Cannot declare class MailCore, because the name is already in use - HTTP 500 Internal Server Error just after Module installation on PS1.7.7.1
new

By Iuliia Tsigel, 3 years ago

Hello everybody,

I've just installed module conseqs-ps17-0.7.0.zip on Prestashop 1.7.7.1 and it ended up in HTTP 500 Internal Server Error saying

Compile Error: Cannot declare class MailCore, because the name is already in use


FatalErrorException

Symfony\Component\Debug\Exception\FatalErrorException:
Compile Error: Cannot declare class MailCore, because the name is already in use

  at classes/Mail_NOTWORKING.php:0

Can anybody help, please?

Regards

Iuliia

By Petr Hucik, 3 years ago

Hi,

you have to delete file /classes/Mail_NOTWORKING.php, or at least rename it to not have .php extension, for example to /classes/Mail_NOTWORKING.back

Then the module will work just fine

By Iuliia Tsigel, 3 years ago

Hi Petr,

you're just great!!!

It helped indeed!

Thanks a lot for turbo-fast help!

Now will try to set up the module.

Regards

Iuliia