This guide covers the most common Ninja Forms problems on WordPress and how to fix them. It is for site owners and admins who run Ninja Forms and need a broken form working again. The plugin tends to fail in the same five ways, and each one has a quick check that confirms the cause before you change any setting.
Here is what usually goes wrong. When the form builder won’t save a large form, the cause is almost always max_input_vars, a PHP setting that caps how many fields one request can send. When a submission saves but no email arrives, the problem is email deliverability rather than the plugin. Repeater fields (groups of fields a visitor can add more of) that silently drop values point to a version mismatch. Calculations that round wrong come from the decimal separator set on the field, and the math itself is fine. Conditional logic (rules that show or hide fields) stops working after an export-import because field IDs change on the new install.
For each one, this guide gives you the WP-CLI command (WordPress’s command-line tool) and the output that tells you which problem you have.
What you’ll accomplish
- Trace a broken submission to the exact hop where it fails — browser,
admin-ajax.php, PHP processing, the database insert, or the email handoff. - Raise
memory_limit,max_input_varsandmax_execution_timecorrectly, inphp.ini,.user.ini, or cPanel’s MultiPHP INI Editor, and confirm PHP picked up the change. - Fix the five recurring failures — builder won’t save, repeater fields losing values, wrong totals, conditional logic broken after migration, and no email — with the command that proves each cause.
- Query the real Ninja Forms tables with
wp db queryinstead of guessing, current (3.x) versus legacy. - Keep the submissions table from quietly becoming the biggest thing in your database.
Prerequisites
- WP-CLI on the server, or SSH to run it — nothing here needs more than the
wp ninja-formscommand the plugin registers. - Ninja Forms 3.x. The legacy 2.x line used
wp_nf_*tables instead ofwp_nf3_*—wp db query "SHOW TABLES LIKE '%nf%'"tells you which you’re on. - Access to
wp-config.phpand to PHP’s configuration —php.ini,.user.ini, or cPanel’s MultiPHP INI Editor. If a host hides all three, the fixes below need a support ticket instead. - Know whether submissions are private data — if EU or Canadian visitors fill your forms, the submission-table advice near the end intersects with retention obligations this guide doesn’t decide for you.
How it works
A Ninja Forms submission is a straight line with five stops, and knowing which stop failed narrows the fix immediately.
The browser posts to admin-ajax.php with action=nf_ajax_submit — Ninja Forms has no official REST endpoint of its own for submissions. PHP picks up the POST body, validates every field, runs calculations and conditional-logic checks, and — if nothing failed — writes the result. Contrary to some older write-ups, submissions are not stored in wp_nf3_objects; that table is a legacy holdover from 2.x. A 3.x submission is a standard WordPress post with post_type = nf_sub and its field values in wp_postmeta, which is why wp post list --post_type=nf_sub needs no Ninja Forms-specific query. Only after that insert succeeds does the Email action fire, handing the message to wp_mail() and from there to your SMTP transport.
Forms themselves — the builder’s definitions, not the submissions — live in a separate set of tables: wp_nf3_forms (id, title, key, counters), wp_nf3_fields (one row per field, parent_id back to the form), and wp_nf3_form_meta / wp_nf3_field_meta for settings as key-value pairs. wp_nf3_actions / wp_nf3_action_meta hold the Email and other actions. Confirm the shape on your own install rather than trusting a blog post:
wp db query "SHOW TABLES LIKE '%nf3%'"
+-----------------------------+
| Tables_in_wordpress (%nf3%) |
+-----------------------------+
| wp_nf3_action_meta |
| wp_nf3_actions |
| wp_nf3_field_meta |
| wp_nf3_fields |
| wp_nf3_form_meta |
| wp_nf3_forms |
| wp_nf3_object_meta |
| wp_nf3_objects |
| wp_nf3_relationships |
| wp_nf3_upgrades |
+-----------------------------+
Three PHP settings gate almost everything on the left half of the diagram above, and one — max_input_vars — is the actual cause behind most “the builder won’t save my large form” reports, more often than memory. It defaults to 1000 and hard-caps the number of individual $_POST/$_GET fields PHP will parse per request; past that, PHP drops the excess silently, no warning, no log entry, because from PHP’s point of view nothing went wrong. A 40-field form, each field carrying 3–4 sub-inputs while you edit it in the builder, clears 1000 well before it looks “large” to a human. memory_limit (default 128M on many stacks) is the second gate: the builder loads the whole field structure into memory as a Vue app, and 256M is tight past 30–40 fields or several Calculation fields. max_execution_time matters more for imports and bulk exports than the builder itself.
Step-by-step
1. Turn on logging and watch the console first. Every fix below is faster once you see the actual failure instead of guessing.
wp config set WP_DEBUG true --raw
wp config set WP_DEBUG_LOG true --raw
wp config set WP_DEBUG_DISPLAY false --raw
Success: Updated the constant 'WP_DEBUG' in the 'wp-config.php' file with the raw value 'true'.
Success: Updated the constant 'WP_DEBUG_LOG' in the 'wp-config.php' file with the raw value 'true'.
Success: Updated the constant 'WP_DEBUG_DISPLAY' in the 'wp-config.php' file with the raw value 'false'.
Open DevTools before reproducing it and watch two tabs: Console for JavaScript errors, Network filtered to admin-ajax.php. A non-200 response there is the tell — 500 points at PHP, 403/406 at a security rule, no request at all at JavaScript never firing.
2. Match the symptom to its check, not a guess.
3. Builder won’t save, or freezes while editing: raise max_input_vars first, then memory. The same three lines work in php.ini or in a .user.ini file in the site root — the latter is what most shared hosts give you, and PHP re-reads it every few minutes, no restart needed:
max_input_vars = 3000
memory_limit = 512M
max_execution_time = 300
On cPanel without file access: MultiPHP INI Editor → select the domain → set the three values → Apply. max_input_vars cannot be set with ini_set() at runtime, so raising WP_MEMORY_LIMIT in wp-config.php alone never fixes it — add the memory constants there too, since the builder respects WordPress’s own ceiling:
define( 'WP_MEMORY_LIMIT', '512M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );
4. Still too large after that? Split it instead of raising limits further. A multi-step form or two shorter forms both remove the problem outright. There’s no fixed cutoff — treat 60+ fields on a single page as the point to start testing the alternative.
5. Repeater fields losing values: check for a version mismatch, not a bug in your form. Repeatable Fieldset ships bundled with core since 3.6.20; on an older install running a separate Repeater add-on, a version gap between it and core is the classic cause of dropped values:
wp plugin list --format=table --fields=name,version,status | grep -i ninja
+---------------------+---------+--------+
| name | version | status |
+---------------------+---------+--------+
| ninja-forms | 3.8.12 | active |
| ninjaforms-repeater | 3.5.2 | active |
+---------------------+---------+--------+
A gap of even a few minor versions is enough. Update both and retest before looking elsewhere.
6. Wrong calculation total: test with 0.1 + 0.2 before assuming the math is broken. Calculations honors normal operator precedence, so the formula is rarely the problem — decimal formatting is. Open the field’s settings (Number Formatting needs Ninja Forms → Settings → Restrictions → Developer Mode on) and set the decimal separator explicitly rather than inheriting the site locale:
0.1 + 0.2 = 0.3 → formatting is fine, the formula is what's wrong
0.1 + 0.2 = 0.30000000000000004 or a stray comma → separator/locale issue
One trap: a Calculation field’s result is computed live in the browser and has no fixed value at submission — its merge tag comes through empty in an email or export unless captured into a hidden field first. If the total is missing rather than wrong, this is almost always why.
7. Conditional logic stopped firing after export-import: re-select the fields, don’t re-diagnose. Forms export/import as .nff files, and field IDs are per-install — a fresh import assigns new ones even though labels look identical. Open each conditional-logic rule, re-select the referenced field from its dropdown, then save — even if it already looks correct.
8. Saved submission but no email: work the deliverability checklist in order, not the SMTP settings first. Confirm the Email action is present and active on the Emails & Actions tab — a duplicated form with the action switched off produces exactly this symptom. Then check the From Address: since 3.1.3, Ninja Forms warns here directly, because most hosts reject a From Address whose domain doesn’t match the sending site. Leaving it blank — it then defaults to the admin email — resolves this more often than any SMTP plugin does:
wp eval 'echo get_option("admin_email");'
admin@example.com
If addresses check out and email still isn’t arriving, install a mail-logging plugin — Ninja Forms’ own documentation recommends this specifically — to see whether wp_mail() is even called, and separately whether your SMTP transport accepts or rejects the handoff. Those are two different failures.
Validate it works
Confirm the PHP settings actually took effect — not just that you wrote them somewhere:
wp eval 'var_dump( ini_get("max_input_vars"), ini_get("memory_limit"), ini_get("max_execution_time") );'
string(4) "3000"
string(4) "512M"
string(3) "300"
Then submit a real test and confirm it landed as a post rather than trusting the on-screen “Thank you,” and check debug.log for anything Ninja Forms-related:
wp post list --post_type=nf_sub --posts_per_page=1 --format=table --fields=ID,post_date,post_status
tail -n 40 wp-content/debug.log | grep -i "nf_\|ninja"
+------+---------------------+-------------+
| ID | post_date | post_status |
+------+---------------------+-------------+
| 4821 | 2026-08-19 10:14:02 | publish |
+------+---------------------+-------------+
No output from the grep is what you want. If you were chasing the email leg, confirm the message left the server — not just that an inbox (which greylisting can delay) received it:
wp eval 'var_dump( wp_mail( get_option("admin_email"), "NF deliverability test", "test body" ) );'
bool(true)
true only means WordPress handed the message off without a PHP-level error — not proof of delivery, which is why the From Address and mail-logging checks in step 8 matter more.
Troubleshooting
max_input_vars is raised but the builder still fails. Under PHP-FPM, a pool-level php_admin_value[max_input_vars] overrides .user.ini and wp-config.php and cannot be overridden lower by design. Compare wp eval 'echo ini_get("max_input_vars");' against what you set — a mismatch means the pool config is the real place to fix it.
admin-ajax.php returns 403 or 500 for every submission, not just large ones. A security-rule signature, not a PHP-limits one. Ninja Forms’ own documentation names ModSecurity specifically: disable it temporarily to confirm, then get the triggering rule ID from your host’s ModSecurity log so it can be excluded properly instead of turning the whole ruleset off. If instead the Network tab shows no request to admin-ajax.php at all on submit, suspect a cache serving a stale nonce or a stale copy of Ninja Forms’ own JavaScript — purge the page, not just the site cache.
The submissions table has grown into the largest thing in the database. Every submission is a wp_posts row plus one wp_postmeta row per field, and nothing prunes this automatically. Measure it first:
wp post list --post_type=nf_sub --format=count
48213
Export what you need (Submissions has a per-form CSV export) before deleting in bulk — retention is a policy decision for whoever owns your visitors’ data obligations, not a default “delete everything older than X.”
Fields are missing from the email though the form collected them. Beyond the Calculation-field trap in step 6, confirm the field is included in the Email action’s message body — merge tags are added per action explicitly; adding a field to the form doesn’t add it to every notification.
When this is the wrong approach
None of this helps if the form never reaches PHP — a request that dies at a CDN, WAF, or reverse proxy won’t show up in debug.log, because nothing on the WordPress side ran. Check the edge layer’s own logs first if admin-ajax.php never appears in your Network tab.
If you’re choosing between form plugins rather than debugging one you run, the mechanism here — admin-ajax submission, PHP-side validation, WordPress-native storage — is close to how Contact Form 7 handles submissions too, so the plugin itself usually isn’t the deciding factor. Support quality and the add-on ecosystem (payments, complex logic, multi-page flows) are. A large, calculation-heavy form as a permanent fixture is the one case where a plugin built around structured multi-page workflows hits these PHP ceilings less often than tuning fixes on Ninja Forms.
Two related guides go deeper on ground this article only touches: conditional logic that stops firing covers rule debugging beyond the migration case, and WordPress form emails not arriving covers SMTP triage in more depth than step 8.
Running WordPress that earns real money deserves an operator — Stack Harbor runs that stack under Enterprise WordPress; book an infrastructure consult.