WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On my custom menus page, I'm getting a limit (e.g. the users cannot add more menu items). I have done some research and have found that my suhosin settings may not be allowing wordpress enough memory. What is the best way to fix the config so that my menus won't be limited?

share|improve this question
up vote 0 down vote accepted

I found the answer, so I'm posting it to help others out:

In this file (depending on your server setup):


Change suhosin.ini on the following lines (remove the semicolons if applicable):

suhosin.post.max_vars = 5000
suhosin.request.max_vars = 5000

The default 1000 will not work - 5000 seems to work well for my needs (so far!)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.