Home › Forums › Quform PHP › deprecated php
- This topic has 6 replies, 3 voices, and was last updated 5 years, 8 months ago by blissy.
- AuthorPosts
- December 28, 2018 at 10:07 pm #28077edwardccParticipant
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 problemParse 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?December 30, 2018 at 9:21 pm #28095edwardccParticipantGot 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
January 4, 2019 at 6:13 pm #28123AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
March 6, 2019 at 1:35 pm #28690blissyParticipantRemoved lines 41-48
Now I get:
Fatal error: Uncaught phpmailerException: Could not instantiate mail function.March 6, 2019 at 1:42 pm #28691blissyParticipantFatal 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 1507March 7, 2019 at 10:09 am #28708AllySupport StaffYou 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, 8 months ago by Ally.
March 7, 2019 at 1:49 pm #28717blissyParticipantWorks now with SMTP on my Local and Hosting servers.
Thanks for your support! - AuthorPosts
- You must be logged in to reply to this topic.