I have been using a Sitejet form to receive applications for months with hundreds of applications processed. This week I was made aware that it began silently failing with no confirmation or error message after user submissions and no email or webhook sent by the form. I have not made any changes to the website or domain in months and it was working smoothly until this week.
I was able to enable verbose logging and found an error reported in api.php.
Warning : Trying to access array offset on null in**/api.php** on line238
Line 238 of api.php: $sendMail = $formConfig[‘form’][‘sendEmail’];
I have already checked the suggested first steps you post in every other contact form failure thread and they are not the root cause:
- enable allow_url_fopen
- ensure PHP version is PHP 7.1 or higher; PHP 8.1, 8.2, 8.3 or higher
- ensure latest Sitejet version is installed
- check general SMTP settings
- ensure api.php is part of the document root
- try to publish the website again
Did any sitejet updates go live in the past week that could have broken functionality?