WordPress.org

Forums

Admin side menu keeps collapsing on me (26 posts)

  1. Anointed
    Member
    Posted 2 years ago #

    The left side menu in WordPress 3.5.1 keeps collapsing on me. I click the bottom button to expand the menu, but when I click any other link on the page, the menu starts out collapsed again.

    Is there a setting somewhere that I might have clicked to accidentally set this as the normal setting?

    How do I get it to stay expanded?

    *this happens in all browsers, IE, Firefox, Chrome

  2. Anointed
    Member
    Posted 2 years ago #

    I just did a 100% uninstall and reinstall no plugins default theme, no changes, and the install starts out with the menu collapsed. Each click still leads me to a collapsed menu.

    I have hundreds of other WordPress sites on this server, and this is a first for me.. so totally stumped.

  3. Anointed
    Member
    Posted 2 years ago #

    Is anyone else having the problem where when you open your WordPress admin page, the left sidebar is collapsed, and even after expanding it, it re-collapses on every page click?

  4. jamespaulsandel
    Member
    Posted 2 years ago #

    yep, same problem here. Just started a few minutes ago and it's sooooo annoying. I manage quite a few WordPress sites, on this server and on other servers. This is the only install it's happening on.

  5. Anointed
    Member
    Posted 2 years ago #

    I have no idea why, but the problem went away all on its own yesterday. I changed NOTHING, and I mean nothing on the website. It is confusing, because it is not browser related as it happened in all browsers. Go figure....

  6. gzabrisk
    Member
    Posted 2 years ago #

    I have no idea why, but the problem went away all on its own yesterday. I changed NOTHING, and I mean nothing on the website. It is confusing, because it is not browser related as it happened in all browsers. Go figure....

    I have the exact same problem as well. You say it just went away? jamespaulsandel, any luck?

  7. jamespaulsandel
    Member
    Posted 2 years ago #

    @gzabrisk, in my case, it seemed to be related to the 2012 theme. I installed one of my themes, and the problem went away. Not sure what to make of it. If I establish any further info, I'll post back.

  8. gzabrisk
    Member
    Posted 2 years ago #

    @jamespaulsandel, thanks for letting me know! I just tired two other themes (one of my own and another from the themes library) and nothing changed. I'll keep trying. I appreciate hearing anything you find out!

  9. gzabrisk
    Member
    Posted 2 years ago #

    @jamespaulsandel, I just completely reinstalled WordPress and the menu is working fine now. Weird...

  10. redness44
    Member
    Posted 2 years ago #

    Yep. Now I'm dealing with the same - very annoying - problem. I haven't done a complete reinstall as I've just spent several hours tweaking my theme (suffusion). I'm using that same theme on another site without any problem.

    This didn't happen until I collapsed the menu manually.

    Since then, I've
    1) deactivated all my plugins - no success
    2) automatically re installed WP v 3.5.1 - no success
    3) deleted cache - no success

    Anyone have other ideas?

  11. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Anyone have other ideas?

    Yep, your chances of getting help are much greater if you start your own thread. Even if your issue seems the same, it's unlikely that it's actually identical..

  12. w1cky
    Member
    Posted 2 years ago #

    Same problem here, but only for the site's Editor. No problems for Admin role! Annoying.

  13. Elly12
    Member
    Posted 2 years ago #

    I had this issue on version 3.5.1. After reinstalling several times, clearing my cache, history, cookies, DNS cache, etc etc to no avail, I went into the server side of things to see if I could figure it out there.

    I found that I could modify the WP tables in the database to unfold/un-collapse the admin menu. I modified the wp_usermeta table. I changed "wp_user-settings" from "mfold=f" to "mfold=t" and that seemed to solve the problem.

    This was so frustrating! Hopefully that helps some of you!

  14. jimii
    Member
    Posted 2 years ago #

    Ive been struggling with this too - for about a month on and off. Just solved it but differently - Possibly this might help trigger a memory of a common point for someone else.

    I use twenty ten - and version wp 3.51. I had adminimize installed - but when deactivating and testing for all plugins - no difference and so I finally removed it - no difference - menu still auto collapsed on clicking any sub-menu item.

    One thing I did just test was the creation of a new user account - as a new admin and as a new subscriber. The Problem stopped when logged in as the new user and the new admin. So I am going to delete my original/old admin account - and use the new admin account. I dont know why this happened - possibly I selected or edited some code at some point somewhere specific to the original admin account - but that seems to resolve the collapsing nav menu for me.... ( I do remember at some some point - reading about a method for creating this type of a feature - default collapsing the nav admin menu to just display the icons, but i can't find it now as mugh as I've tried to.... I hope this is helpful. Jim

  15. sheriffderek
    Member
    Posted 2 years ago #

    I was having the same problem. I traced back my steps - but ended up creating a new user admin - then deleting the original admin - then recreating the original admin - and now it's fine. Not an optimal situation, but 3 minutes and its back to normal. Hopefully in the next update this will be addressed.

  16. Sherwin Techico
    Member
    Posted 2 years ago #

    @Elly12's solution helped my end. Hope this bump fixes others looking for an up-to-date method.

  17. ygaradon
    Member
    Posted 2 years ago #

    @Elly12's solution worked for me to!

  18. Pressed1
    Member
    Posted 2 years ago #

    Elly12 Thank You!
    I've tried your solution, and it seems to work fine; however after further research, I believe this is the proper way to 'repair' the annoying auto-folding admin menu issue. It also appears that this is invoked when your browser window is less than 900px wide.

    Make your browser as wide as possible, unfold the menu, go to the top-left corner of admin bar, next to W logo (right-side), [Your Site Name] / *Visit Site* (click)

    This seems to write your settings to the database and makes the menu setting stick.

    or you can:

    Within your Database:
    table: wp_usermeta
    user_id: 1
    meta_key: wp_user-settings
    meta_value: Delete mfold=f (and leading ampersand if applicable)

    This javascript check is ran within the /wp-admin/js/common.js

  19. fuzzy1
    Member
    Posted 2 years ago #

    Well who's brilliant idea was it to set a new meta_key in the db setting mfold=f as your new default behavior just because one time -- on a whim -- you decided to collapse the admin menu?

    Seriously, if manipulating the database is the only means provided by which to switch it back, then this surely qualifies as a BUG. As a plugin developer, I don't mind lifting the hood, but for the casual user who wouldn't know the first thing about it, expecting them to massage the DB is just plain silly. Surely there's a handle for this on the dashboard somewhere?

  20. Shalagh Hogan
    Member
    Posted 1 year ago #

    As one of those casual users, thank you. After upgrading to 3:5:1, I discovered the menu could collapse. Which enabled me to read all of what I was writing. But then the menu expanded. And now I want to collapse. Jetpack was the only plugin I messed with recently and that wasn't it. I have read above comments, and although I would have no idea how to fiddle with code, I will try the user admin change trick and see if that happens. Also the screen pixels was new to me. So thanks for something that hopefully won't be nothing.
    Love,
    Shalagh

  21. edcarrochio
    Member
    Posted 1 year ago #

    Also a casual user here, can someone walk me through the steps to make the change that Elly12 suggested above?

    I found that I could modify the WP tables in the database to unfold/un-collapse the admin menu. I modified the wp_usermeta table. I changed "wp_user-settings" from "mfold=f" to "mfold=t" and that seemed to solve the problem.

    How do I access the database? How do I modify the WP tables? Can someone with Administrator access make this change? I am currently experiencing the collapsed menu with one user but not another, independent of which browsers or computers I use.

  22. Josh
    Member
    Posted 1 year ago #

    The fix Elly12 suggested isn't working for me. The database is being changed back to "mfold=f" whenever I set it to "mfold=f" on page reload.

  23. frankypa
    Member
    Posted 1 year ago #

    Same problem. I was going crazy and finally found this (recent) solution. But didn't work.

    The fix Elly12 suggested isn't working for me. The database is being changed back to "mfold=f" whenever I set it to "mfold=f" on page reload.

    The same issue.
    Please help and thank you very much.

  24. frankypa
    Member
    Posted 1 year ago #

    SOLVED!!!

    Here the solution.

    :)

  25. badmidget
    Member
    Posted 1 year ago #

    frankypa's reference worked for me.

      1.) Log in to phpmyadmin, click on the database.
      2.) Browse the table "wp_usermeta" (if you have database prefixed, the table name is 'usermeta' followed by the prefix).
      3.) Look for the 'wp_user-settings' from the column 'meta_key' (make sure the user_id is correct).
      4.) Change the 'meta_value' to 'mfold=0', save your record, and login again.

    When I refreshed my phpmyadmin after making the change, it reverted back to "mfold=f". I made the change again and refreshed and it stuck. After that I logged out of wp-admin and logged back in and the problem was resolved.

  26. a2034487
    Member
    Posted 1 year ago #

    Happened here too... after I installed an admin theme and deactivated it again.

    Solved it by deleting admin user and creating another...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.