WordPress admin panels disappearing

Hi,

I encountered an annoying problem in wordpress admin, suddenly my Pages panel disappeared, I didn’t find the problem, and I needed that panel, so I added it manually, but as soon as i did that, other panels start to disappear. I thought it was an wordpress upgrade problem ( just did an upgrade ), but doing a downgrade didn’t solve it, so I start deactivating plugins, ( i mention i used MagicFields and Gravity forms, and i had 6 magic fields wright panels ), and when i deactivated Gravity forms all was normal, then i googled a bit and found that this is because plugins that use ‘add_object_page‘ function ( Magic Fields use it and Gravity forms as well ) make the Pages panel disappear when are more than 11 panels in the wordpress upper admin panel ( the one with Posts and Pages ), and the only solution is to change the ‘add_object_page‘ function to ‘add_menu_page‘, so i changed it in gravity forms and the Pages panel appeared.

This is not recommended, because the plugins might be upgraded and you have to be careful, but this was the only workaround that worked for me.

Comments

  1. written by: Charlotte Coleman on December 13, 2011 at 8:48 pm - Reply

    Thanks for posting this – I’ve encountered exactly same problem and was stumped until I saw your post. Extremely helpful!!

  2. written by: mihai on December 13, 2011 at 9:00 pm - Reply

    I’m glad my post helped you.

  3. written by: Robert Iseley on April 26, 2012 at 9:17 pm - Reply

    I came across this post when researching the problem myself. I figured out that if you set ‘menu_postion’ to ‘null’ gravity forms will not affect your post type.

    • written by: mihai on April 26, 2012 at 9:59 pm - Reply

      Thanks for your thoughts.
      Back then when I wrote this, I thought it was something about gravity forms that messed up the menu, but later I found that just had the same menu_position as another post_type.

Leave a Reply

Your email address will not be published. Required fields are marked *

7 × = 42

This site uses Akismet to reduce spam. Learn how your comment data is processed.