Also noticed if I add setupmailer and then Send Mail as I have always done it won't work, but if I do it in reverse order I can add the elements, I wondering if this bug is causing the send mail not to work on the page and is what is generating the error on the page...
Have created another test page with a basic name and email input field, along with a new API Action in case some has gone wrong with the original. The mail subject is static as per attached image, everything else is as it should be yet I still get the same error on the page!!!
PHPMailer fixed some deprecation warning in version 6.9.1. If you use Composer then you can simply use that to upgrade to the latest version.
If you use the bundled one then I believe it is still an old version 5.5 and I would suggest to update your project to use Composer to get the latest version.
The error suggests that some NULL value is passed somewhere where it is not allowed. Perhaps output all $_POST data in your server action to validate that they are correctly being set.
This has forced this domain presence to use phpmailer 6.9.1
I have created a very simple page, with form and api send and still I get the same error. I've noticed the error shows a path to a folder within the httpdocs folder called 'vendor' and inside that are two folders, composer and phpmailer. I have not added this folder, is it part of Wappler? None of my other sites have this folder either.
I have not restarted the server as it's in production
This problem is not resolved no matter what I seem to do, I have added a new mailer and a simple page with a simple form with just two inputs, fullname and emailaddress. The send mail uses a static subject field, the two inputs from the linked page form and a static recipient name and email.
I still get the above error when I inspect the page.
This domain has a vendor folder added to it which has a phpmail folder in it, I haven't added this so I'm guessing Wappler has. None of the other projects I have on the same sever have this folder!
I'm now stuck unable to add any form to mail function on this website even though the existing form to mail pages work, how is that possible if new ones fail?