Home › Forums › Quform PHP › Parse error … PHPMailer.php on line 167
First attempt at uploading the Dec 2020 updated quform folder, for a basic form using just the fields in the template. Form will not submit, it returns this error:
Parse error: syntax error, unexpected ‘[‘ in /var/www/vhosts/xx/xxxxx/webspace/httpdocs/xxxx/xxxx/quform/vendor/phpmailer/phpmailer/src/PHPMailer.php on line 167
Line 167 in PHPMailer.php is to do with Ical, which the form is not using:
protected static $IcalMethods = [
Note – I didn’t change anything in the PHPMailer.php file.
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login