Wordpress login and form submission
Hello,
I have been trying to submit a form going through these steps:
1. goto https://www.boazproject.org/short-term-mission-trips/
2. scroll to the bottom and find "Apply for a mission trip."
3. fill out required fields of the form
4. hit the submit button
5. error message: Upload error: Unknown error
I submitted this problem to my web hosting company, and they have come up with this problem:
Upon reviewing your case, I've identified that the issue stems from the active theme, Betheme. To ensure a thorough investigation without impacting your live site, I created a staging environment:
https://www.staging13.boazproject.org/
In this controlled setting, I activated WordPress debug mode and attempted to submit the form, which resulted in the following errors:
[12-Mar-2026 15:39:02 UTC] PHP Warning: Undefined array key "file" in /home/customer/www/staging13.boazproject.org/public_html/wp-content/themes/betheme/functions/theme-shortcodes.php on line 5268 [12-Mar-2026 15:39:02 UTC] PHP Warning: Trying to access array offset on null in /home/customer/www/staging13.boazproject.org/public_html/wp-content/themes/betheme/functions/theme-shortcodes.php on line 5268
These errors persist even when attempting to edit the form in the WordPress backend. The debug log pinpoints the root cause: warnings are generated by the BeTheme file theme-shortcodes.php due to an assumption that a file upload is present when it is not. Here’s the sequence of events leading to the issue:
- Gravity Forms sends an AJAX request expecting JSON.
- BeTheme shortcode code executes during this request.
- It attempts to access $_FILES["file"], despite no file upload being present.
- PHP issues warnings.
- These warnings disrupt the JSON structure.
- JSON.parse() fails, causing the Gravity Forms editor to malfunction.
I have made modifications to the theme-shortcodes.php script on the staging site, and I can confirm that Gravity Forms is now functioning correctly there.
They suggested I submit the problem to you for a more formal inquiry.
While waiting for a response from one of our team members, we recommend to check Support Center where it is highly likely that you will find the answer to your question in no time.
FAQ | Video Tutorials | How to