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.

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.