Title: Cannot move menu item without getting error
Last modified: April 7, 2024

---

# Cannot move menu item without getting error

 *  [revcoincidence](https://wordpress.org/support/users/revcoincidence/)
 * (@revcoincidence)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/cannot-move-menu-item-without-getting-error/)
 * I’ve just created a new page and added it to the menu as normal, but unlike normal
   I have experienced an error. It’s okay when the menu item is introduced at the
   bottom of the list (i.e. a new “main” item), but as soon as I try to move it 
   anywhere else, I get an error. On screen after the creation of the menu, near
   the top of the screen, I get “ey 0 in **/var/www/vhosts/mysite.org/httpdocs/wp-
   content/plugins/if-menu/if-menu.php** on line **310**“. I can’t read what comes
   before the “ey” because it’s hidden by the black WP dashboard menu and won’t 
   let me copy it.
 * At the same time, if I then look at the site, my home page is full of error messages:
 * Trying to access array offset on value of type null in**/var/www/vhosts/mysite.
   org/httpdocs/wp-content/plugins/if-menu/if-menu.php**on line**111** **Warning**
 * The same message appears twice more but showing line 115 on those occasions.
 * The horizontal menu across the top of the screen has been replaced by a vertical
   menu on the right. I note the new item is in the right place in the list.
 * The only way I can save this is to remove the page from the menu.
 * I have version 0.18.0 (basic) running on Mesmerize Theme (not Pro) Version: 1.6.125,
   WordPress version 6.5.
 * Any ideas warmly welcomed…
 * Thank you

The topic ‘Cannot move menu item without getting error’ is closed to new replies.

 * ![](https://ps.w.org/if-menu/assets/icon-256x256.png?rev=1862232)
 * [If Menu - Visibility control for Menus](https://wordpress.org/plugins/if-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/if-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/if-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/if-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/if-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/if-menu/reviews/)

## Tags

 * [menu error](https://wordpress.org/support/topic-tag/menu-error/)

 * 0 replies
 * 1 participant
 * Last reply from: [revcoincidence](https://wordpress.org/support/users/revcoincidence/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/cannot-move-menu-item-without-getting-error/)
 * Status: not resolved