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.
Input variables exceeded 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
- Raise
max_input_vars = 5000 - Split huge forms
- Submit large data as JSON instead of many fields
Detailed fix by platform
WordPress
- Menus losing items on save is the classic symptom — raise max_input_vars
How to diagnose
- Count — How many fields does the form post?
- 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:
Similar errors
Most viewed in PHP
Other ways to find it
Where this error sits
Origin: Application & API. Errors that are often confused with or caused by this one (click to open):
🧠 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.
Report a correction or suggest an improvement
Last updated 14 Oct 2026