Title: savePost_callBack Bug
Last modified: August 21, 2016

---

# savePost_callBack Bug

 *  [sidneywidmer](https://wordpress.org/support/users/sidneywidmer/)
 * (@sidneywidmer)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/savepost_callback-bug/)
 * I found a bug where creating a new menu and/or saving menu entries throws a notice.
   I tracked the bug down to the reorder-posts-within-categories.php around line
   175. There you try to access $orderedSettingOptions[‘categories_checked’][$post_type-
   >name] no matter if it actually exists or not.
 * When saving a Menu, $post_type->name equals to ‘nav_menu_item’ which then trows
   the error. To fix the Bug, just check if the array key exists first (array_key_exists).
 * [https://wordpress.org/plugins/reorder-post-within-categories/](https://wordpress.org/plugins/reorder-post-within-categories/)

The topic ‘savePost_callBack Bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/reorder-post-within-categories_c18d38.
   svg)
 * [ReOrder Posts within Categories](https://wordpress.org/plugins/reorder-post-within-categories/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/reorder-post-within-categories/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/reorder-post-within-categories/)
 * [Active Topics](https://wordpress.org/support/plugin/reorder-post-within-categories/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/reorder-post-within-categories/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/reorder-post-within-categories/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [sidneywidmer](https://wordpress.org/support/users/sidneywidmer/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/savepost_callback-bug/)
 * Status: not resolved