Title: Fatal error &#8211; edit menu
Last modified: December 8, 2022

---

# Fatal error – edit menu

 *  Resolved [llka](https://wordpress.org/support/users/llka/)
 * (@llka)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-edit-menu-2/)
 * Hi everybody,
 * I have inserted the event calendar page as the homepage of the site and when 
   I want to edit the menu, it gives me a fatal error:
 * Fatal error: uncaught Error: Attempt to assign property “front_or_home” on null
   in /data/web/virtuals/308478/virtual/www/domains/nazevwebu/wp-admin/includes/
   nav-menu.php:379 Stack trace: #0 /data/web/virtuals/308478/virtual/www/domains/
   nazevwebu/wp-admin/includes/template. php(1528): wp_nav_menu_item_post_type_meta_box(
   NULL, Array) #1 /data/web/virtuals/308478/virtual/www/domains/nazevwebu/wp-admin/
   nav-menus. php(945): do_accordion_sections(Object(WP_Screen), ‘side’, NULL) #
   2 {main} thrown in /data/web/virtuals/308478/virtual/www/domains/nazevwebu/wp-
   admin/includes/nav-menu.php on line 379
 * Any idea what I should edit in nav-menu.php, nav-menus.php and template.php to
   make it ok?
 * Thank you for help.

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

 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-edit-menu-2/#post-16274427)
 * Hi [@llka](https://wordpress.org/support/users/llka/),
 * Thanks for reaching out.
 * Could you try one of the [alternatives described on our knowledgebase article **Set the Calendar as the Homepage**](https://theeventscalendar.com/knowledgebase/k/how-to-make-your-calendar-your-sites-home-page)
   and check if that works for you?
 * Let me know how it goes.
 *  [Guga Alves](https://wordpress.org/support/users/gugaalves/)
 * (@gugaalves)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-edit-menu-2/#post-16290598)
 * Hi [@llka](https://wordpress.org/support/users/llka/),
 * We’ve fixed that issue on Events Calendar version 6.0.6.1, please update the 
   plugin on your site and that issue will not happen anymore.
 * Best Regards,
 * Guga
 *  Plugin Support [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * (@abzlevelup)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-edit-menu-2/#post-16348658)
 * This thread has been inactive for a while, so we’ll go ahead and mark it **Resolved**.
   Please feel free to open a new thread if any other questions come up, and we’d
   be happy to help.

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

The topic ‘Fatal error – edit menu’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-edit-menu-2/#post-16348658)
 * Status: resolved