Php 7.2 get error with serverconnectForm.js try { this.xhr.send(data); }

php 7.2 get error with serverconnectForm.js
Line 249 try { this.xhr.send(data); }

reverted back to 7.1 php and working…

That’s not the exact error.
Please follow this article and check the exact error returned by your server action:

great, ok the message is…

  1. {code: 0, file: “/usr/www/users/tradejhxku/dmxConnectLib/lib/mail/MimePart.php”, line: 285,…}

  2. code: 0

  3. file: “/usr/www/users/tradejhxku/dmxConnectLib/lib/mail/MimePart.php”

  4. line: 285

  5. message: “The each() function is deprecated. This message will be suppressed on further calls”

  6. trace: “#0 [internal function]: exception_error_handler(8192, ‘The each() func…’, ‘/usr/www/users/…’, 285, Array)↵#1 /usr/www/users/tradejhxku/dmxConnectLib/lib/mail/MimePart.php(285): each(Array)↵#2 /usr/www/users/tradejhxku/dmxConnectLib/lib/mail/MimePart.php(256): lib\mail\MimePart->_quotedPrintableEncode(’<!doctype html>…’)↵#3 /usr/www/users/tradejhxku/dmxConnectLib/lib/mail/MimePart.php(209): lib\mail\MimePart->_getEncodedData(’<!doctype html>…’, ‘quoted-printabl…’)↵#4 /usr/www/users/tradejhxku/dmxConnectLib/lib/mail/HtmlMimeMail.php(627): lib\mail\MimePart->encode()↵#5 /usr/www/users/tradejhxku/dmxConnectLib/lib/mail/HtmlMimeMail.php(685): lib\mail\HtmlMimeMail->buildMessage()↵#6 /usr/www/users/tradejhxku/dmxConnectLib/lib/mail/Mailer.php(114): lib\mail\HtmlMimeMail->send(Array, ‘mail’)↵#7 /usr/www/users/tradejhxku/dmxConnectLib/modules/mail.php(64): lib\mail\Mailer->send(Object(stdClass))↵#8 /usr/www/users/tradejhxku/dmxConnectLib/lib/App.php(159): modules\mail->send(Object(stdClass), ‘’)↵#9 /usr/www/users/tradejhxku/dmxConnectLib/lib/App.php(128): lib\App->execSteps(Object(stdClass))↵#10 /usr/www/users/tradejhxku/dmxConnectLib/lib/App.php(98): lib\App->execSteps(Array)↵#11 /usr/www/users/tradejhxku/dmxConnectLib/lib/App.php(71): lib\App->exec(Object(stdClass))↵#12 /usr/www/users/tradejhxku/dmxConnect/api/Member/register_user.php(8): lib\App->define(Object(stdClass))↵#13 {main}”

I guess its because i used DMX App Connect and Dreamweaver for this site… let me copy the MimePart.php file over from a NEW project and see if it works… :slight_smile: … ill keep you posted…

Yes, that’s already been fixed in Wappler.
Remove the dmxConnectLib folder locally, save your server action and the new files will be generated. Upload the newly generated dmxConnectLib folder.

2 Likes

thanks Teodor … that is the thing when you switch between project from dreamweaver and wappler… :slight_smile: but thanks for the fast reply and always assisting… even if its something small.

1 Like