deprecated php

Home Forums Quform PHP deprecated php

This topic is: resolved
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #28077
    edwardcc
    Participant

    The compare in PHPMailerAutoload.php is outdated, the fix seems to be to delete lines 32 to 48 inclusive for php7.x or reword.
    I commented them out.
    ==
    Now get:
    There was a problem

    Parse error: syntax error, unexpected ‘}’ in /home/xxxxxx/public_html/quform/lib/PHPMailerAutoload.php on line 51
    ==
    Corrected that and got:

    There was a problem

    Fatal error: Class ‘PHPMailer’ not found in /home/xxxxxx/public_html/quform/lib/Quform.php on line 521
    ==

    Server is Litespeed php 5.6
    I tried on php v7.2 (which is the reason I bought quform) and got:

    Fatal error: Uncaught Error: Class ‘PHPMailer’ not found in /home/xxxxxx/public_html/quform/lib/Quform.php:521
    Stack trace:
    #0 /home/xxxxxx/public_html/quform/process-all-elements.php(340): Quform::newPHPMailer(Array)
    #1 /home/xxxxxx/public_html/quform/process-all-elements.php(432): process(Object(Quform), Array)
    #2 {main}
    thrown in /home/xxxxxx/public_html/quform/lib/Quform.php on line 521
    Ideas?

    #28095
    edwardcc
    Participant

    Got most of this sorted but now getting:

    ‘ . Quform::jsonEncode($result) . ‘

    Nothing in error log (which has reported other errors)

    What do I check please?

    edwardcc

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

    #28690
    blissy
    Participant

    Removed lines 41-48

    Now I get:
    Fatal error: Uncaught phpmailerException: Could not instantiate mail function.

    #28691
    blissy
    Participant

    Fatal error: Uncaught phpmailerException: Could not instantiate mail function. in /Applications/MAMP/htdocs/blissydesign_2015_responsive_php.nl/httpdocs/quform/lib/class.phpmailer.php:1507
    Stack trace:
    #0 /Applications/MAMP/htdocs/blissydesign_2015_responsive_php.nl/httpdocs/quform/lib/class.phpmailer.php(1337): PHPMailer->mailSend(‘Date: Wed, 6 Ma…’, ‘This is a multi…’)
    #1 /Applications/MAMP/htdocs/blissydesign_2015_responsive_php.nl/httpdocs/quform/lib/class.phpmailer.php(1213): PHPMailer->postSend()
    #2 /Applications/MAMP/htdocs/blissydesign_2015_responsive_php.nl/httpdocs/quform/process.php(378): PHPMailer->send()
    #3 /Applications/MAMP/htdocs/blissydesign_2015_responsive_php.nl/httpdocs/quform/process.php(431): process(Object(Quform), Array)
    #4 {main}
    thrown in /Applications/MAMP/htdocs/blissydesign_2015_responsive_php.nl/httpdocs/quform/lib/class.phpmailer.php on line 1507

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

    • This reply was modified 5 years ago by Ally.
    #28717
    blissy
    Participant

    Works now with SMTP on my Local and Hosting servers.
    Thanks for your support!

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