Jump to content

Parse error: syntax error, unexpected end of file in /override/classes/Mail.php on line 136


Solis Light

Recommended Posts

Hello, can someone help me. 

I use prestashop 1.6

I have one probleme with :

Parse error: syntax error, unexpected end of file in /override/classes/Mail.php on line 136

In this  file Mail.php on line 136 , i have this code :

135        else
136                $connection = new Swift_Connection_Native

Someone can help me to found this syntax error, and which code should be here? 

Thanks!

Link to comment
Share on other sites

vor 9 Stunden schrieb Alexandra Maydanyuk:

In this  file Mail.php on line 136 , i have this code :

135        else
136                $connection = new Swift_Connection_Native

 

Exactly this? In this case a semicolon seems to be missing as end of command. I don't know if this will work in your override, but how about:

  $connection = new Swift_Connection_NativeMail();

Link to comment
Share on other sites

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