Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in F:\wamp\www\SuiteCRM-7.14.7\include\SugarPHPMailer.php on line 191

Hi guys!

I am installing SuiteCRM-7.14.7 on my WAMP server(php 7.4), I got an error as below:

Parse error: syntax error, unexpected ‘)’, expecting variable (T_VARIABLE) in F:\wamp\www\SuiteCRM-7.14.7\include\SugarPHPMailer.php on line 191

I checked the SugarPHPMailer.php on line 191**emphasised text and it is:

How to solve this problem??

Is your PHP version within the Compatibility Matrix?

1 Like