Multiple upload fields AJAX – “undefined” error at 0%
-
Plugin version: Forminator 1.55.0 (free)
WordPress version: 7.0
Theme: Divi
Hosting: Oderland (LiteSpeed server, shared hosting)Problem description:
We have a paginated form (3 pages) with three file upload fields, all set to AJAX upload method:
- upload-1: ONE main picture (required, 1 file, 2MB limit)
- upload-2: 6-7 gallery pictures (required, up to 8 files, 2MB limit)
- upload-3: Workshop pictures (optional)
We are experiencing an intermittent issue specifically with the AJAX file upload fields. When a user selects a file to upload, the upload appears to start but immediately shows “undefined” in red below the upload field, with the progress stuck at 0%. This prevents the user from completing the upload and submitting the form. Users typically retry 5-10 times before either succeeding or giving up – the issue is intermittent and the same user can succeed on a later attempt without changing anything.
Evidence from server access logs (June 22, 2026):
We have analyzed our SSL access logs and found a consistent pattern across multiple users and browsers:
- 10:38–10:50 – Windows/Edge: 7 failed AJAX attempts → finally succeeded at 10:50
- 11:01–11:15 – Mac/Safari 15.4: 8 failed AJAX attempts → finally succeeded at 11:15
- 14:15 – iPhone/Safari iOS 18.7: failed AJAX call → no successful submit
- 20:03–20:11 – Windows/Chrome: 7 failed attempts → succeeded at 20:11
- 20:05 – Windows/Firefox: failed AJAX call → no successful submit
- 20:05 – Mac/Chrome: failed AJAX call → no successful submit
The pattern is the same across all cases: repeated POST to
wp-admin/admin-ajax.phpwith no successful submission, until the user eventually retries enough times to get through. The issue is not browser-specific – we see it on Safari (iOS and macOS), Chrome (Windows and macOS), Edge (Windows) and Firefox (Windows).What we have already tried:
- Disabled Honeypot protection
- Changed gallery upload field from “On form submission” to AJAX
- Excluded form pages from LiteSpeed cache
- Verified PHP settings (max_execution_time=90, post_max_size=50M, memory_limit=256M – all fine)
- Confirmed no relevant PHP errors in debug.log during failed submissions
Relevant note: We found this older fix from a WPMU DEV developer (Thobk, Jira SLS-2280) for a multiple upload field conflict:
https://gist.github.com/wpmudev-sls/2a2da7f5832acb9577325bdbb2295f66– but it is from 2021 and we are unsure if it is still valid for Forminator 1.55.0.Questions:
- Is this a known issue in Forminator 1.55.0 with multiple AJAX upload fields?
- Is the 2021 fix still applicable, or has it been addressed in a recent version?
- What does the “undefined” error at 0% indicate specifically – is it a JavaScript conflict, a server-side issue, or something else?
Thank you.
You must be logged in to reply to this topic.