Title: Sorting won&#8217;t save
Last modified: March 8, 2024

---

# Sorting won’t save

 *  [Jeff Cohan](https://wordpress.org/support/users/jdcohan/)
 * (@jdcohan)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/sorting-wont-save/)
 * I’ve just encountered the problem where every attempt to save the menu order 
   after sorting (either automatically or manually) does not save.
 * I know I need to check for plugin conflicts, and I am about to do so.
 * But if anyone has had this experience and can point me in a direction, I’d appreciate
   it.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Jeff Cohan](https://wordpress.org/support/users/jdcohan/)
 * (@jdcohan)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/sorting-wont-save/#post-17485857)
 * I appear to have solved the problem by going to the settings tab and enabling“
   Compress menu configuration data that’s stored in the database”.
 *  Plugin Author [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/sorting-wont-save/#post-17486589)
 * Based on that, I would guess that something was corrupting the menu configuration
   as it was being stored in or read from the database. Maybe something that tries
   to filter/update the site URLs or replace some keywords?
 * _Longer explanation:_
 * When you enable the compression option, the plugin still stores the same configuration
   in the same place in the database, except it’s converted to a compressed format.
   So if there was a DB issue (e.g. a corrupted table) or a general plugin bug that
   prevents settings from being saved, turning on compression probably wouldn’t 
   change anything. The fact that it helps suggests that it matters _what exactly_
   gets stored in the DB.
 * The most common way for menu settings to be lost/reset is that there’s some plugin
   or tool that tries to blindly search-and-replace text in the database, e.g. to
   update the domain name after site migration. In principle, instead of doing that
   in a single pass, a plugin could do something similar dynamically as data is 
   being read/written to the DB. Compressed menu configuration data is not human-
   readable and would no longer match searches like that.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Sorting won’t save’ is closed to new replies.

 * ![](https://ps.w.org/admin-menu-editor/assets/icon-128x128.png?rev=1418604)
 * [Admin Menu Editor](https://wordpress.org/plugins/admin-menu-editor/)
 * [Support Threads](https://wordpress.org/support/plugin/admin-menu-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/admin-menu-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admin-menu-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admin-menu-editor/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/sorting-wont-save/#post-17486589)
 * Status: not resolved