WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Crashed WP with "has_nav_menu" (2 posts)

  1. Native Imaging
    Member
    Posted 9 months ago #

    Fatal error: Cannot redeclare has_nav_menu() (previously declared in /myhost/public_html/mydomain.com/wp-includes/nav-menu.php:140) in /myhost/public_html/mydomain.com/wp-content/themes/mytheme/functions.php on line 674

    This was the reference i used,
    http://wpseek.com/has_nav_menu/
    which i see now was probably not a good idea. Any tips on how to re-initialize the site?

  2. Native Imaging
    Member
    Posted 9 months ago #

    Oops, apologies, my FTP wasn't synced. Just removed the snippet and its back up.

Reply

You must log in to post.

About this Topic