Parse error … PHPMailer.php on line 167

Home Forums Quform PHP Parse error … PHPMailer.php on line 167

This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32429
    DigitalAcla
    Participant

    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.

    #32430
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2020 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy