max_input_vars PHP Origin: Application & API OSI layer 7 · Application Last updated 14 Oct 2026

Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini.

The form submitted more fields than PHP’s max_input_vars allows; extra fields were silently dropped.

Exact message you may see Input variables exceeded
Seen on: PHP

Meaning

Large admin forms (WordPress menus, WooCommerce variations, settings pages) can exceed the default 1000 inputs. PHP truncates the data, so saves look successful but lose items.

Common causes

  • Very large forms (menus with many items, bulk edits)
  • Default max_input_vars = 1000

⚡ Quick fix

  1. Raise max_input_vars = 5000
  2. Split huge forms
  3. Submit large data as JSON instead of many fields

Detailed fix by platform

WordPress

  1. Menus losing items on save is the classic symptom — raise max_input_vars

How to diagnose

  1. Count — How many fields does the form post?
  2. Limit — ini_get('max_input_vars')

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Application & API. Errors that are often confused with or caused by this one (click to open):

1000 — Cloudflare Error 1000: DNS points to prohibited IP (Cloudflare)1000AADSTS90002 — AADSTS90002: Tenant 'x' not found (Azure)AADSTS90002AH00558 — Apache: AH00558: apache2: Could not reliably determine the server's fully qualified domain name (Nginx / Apache)AH00558api_version_invalid — API Error: Invalid or unsupported API version (API)api_version_invalidAzureWebJobsStorage — Azure Functions: Value cannot be null. (Parameter 'connectionString') / Missing value for AzureWebJobsStorage (Azure)AzureWebJobsStorageConnectionString property has not been initialized — InvalidOperationException: The ConnectionString property has not been initialized (.NET)ConnectionString prop…divergent branches — hint: You have divergent branches and need to specify how to reconcile them. (Git)divergent branchesdocker-credential-desktop — error getting credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH (Docker)docker-credential-des…max_input…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.