Title: figassis's Replies | WordPress.org

---

# figassis

  [  ](https://wordpress.org/support/users/figassis/)

 *   [Profile](https://wordpress.org/support/users/figassis/)
 *   [Topics Started](https://wordpress.org/support/users/figassis/topics/)
 *   [Replies Created](https://wordpress.org/support/users/figassis/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/figassis/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/figassis/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/figassis/engagements/)
 *   [Favorites](https://wordpress.org/support/users/figassis/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Menu Editor] Cannot Save Menu changes](https://wordpress.org/support/topic/cannot-save-menu-changes/)
 *  Thread Starter [figassis](https://wordpress.org/support/users/figassis/)
 * (@figassis)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/cannot-save-menu-changes/#post-6857469)
 * Just tried, issue remains. The error is saying that you cannot convert a function
   to JSON.
 * The stack trace shows that the tree object contains a function when it’s passed
   to the encodeMenuAsJSON function, so the $.toJSON(tree); statement throws an 
   error.
 * If you do a console.log(tree); inside the encodeMenuAsJSON, you’ll see that the
   tree object has a color_presets object containing a function called remove.
 * In the readMenuTreeState function definition, line 1692, if you comment out the
   color presets attribute, the save button works fine.
 * return {
    tree: tree, //color_presets: $.extend(true, {}, colorPresets), granted_capabilities:
   AmeCapabilityManager.getGrantedCapabilities() };
 * This should give a hint on how to solve the issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Adminimize] Can't undo Add New Users feature](https://wordpress.org/support/topic/cant-undo-add-new-users-feature/)
 *  Thread Starter [figassis](https://wordpress.org/support/users/figassis/)
 * (@figassis)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/cant-undo-add-new-users-feature/#post-5024462)
 * Just realized that even after deleting the options using the provided checkbox,
   the “new user” menu item is still hidden from other users. This fix is now urgent
   man.

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