Dear, users
I just downloaded the script and upload all the files to my server, but when I run the installer I get the following error :
Parse error: syntax error, unexpected '[' in /home/public_html/lib/PHPMailer/PHPMailer.php on line 304
Any idea why this happens?
Thank you very much!
Error running installer : PHPMailer.php on line 304
Re: Error running installer : PHPMailer.php on line 304
Maybe try updating to the latest version of PHPMailer: https://github.com/PHPMailer/PHPMailer/
Replace the files in /lib/PHPMailer/ with the files from the src folder of PHPMailer.
If that doesn't work I would suggest trying a different version of PHP.
Replace the files in /lib/PHPMailer/ with the files from the src folder of PHPMailer.
If that doesn't work I would suggest trying a different version of PHP.