Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've set up a menu on one of my sites. The menu has ~30 items. Everything is fine, but at some point the menu crops itself and displays only the first 12 item. Does anyone have an idea why this is happening and how to tackle this issue?

share|improve this question
    
This could possibly be a memory issue if you have a complex menu structure. What hosting environment are using? I've had this happen when saving a large menu on a weak server. –  Brian Fegter Sep 18 '11 at 23:24
    
I don't think that this is the issue. I have a dedicated virtual server for this site. I wonder if it has something to do with php.ini or WP itself, though... –  Jukov Sep 18 '11 at 23:48
    
Are you using the Wordpress Menu UI or are you using a function? –  Brian Fegter Sep 19 '11 at 0:06
    
I'm using the menu UI. with wp_nav_manu. Damn, this is so wierd... –  Jukov Sep 19 '11 at 6:08

1 Answer 1

up vote 2 down vote accepted

Not sure it will help, but here is sort of what you are talking about: http://core.trac.wordpress.org/ticket/14134

Try adding:

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

to your php.ini

share|improve this answer
    
thank you. that was it. –  Jukov Nov 6 '11 at 14:21

Your Answer

 
discard

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.