WordPress.org

Support

Support » Themes and Templates » [Resolved] fatal error when activate new theme

[Resolved] fatal error when activate new theme

  • I installed new theme, but when I activated it, my website’gone, & appear this message: Fatal error: Call to undefined function register_nav_menus() in /home/sloki/user/k8026936/sites/burselfwoman.com/www/wp-content/themes/platform/sections/nav/section.nav.php on line 36
    Please, HELP! I’m dumb, don’t know anything about all this stuffs. Help me with step by step. Many thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator James Huff

    @macmanx

    You’ll need to access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the Default theme (WordPress 1.5 – 2.9.2) or the Twenty Ten theme (WordPress 3.0 and higher) to activate and you should be able to access your Dashboard again.

    Hi James,
    Problem is solved. Thanks so much for your help.

    Hey there, I’m having a similar problem and have tried the solution with no luck. I’m getting this error message whenever I go to my site’s wp-admin. Any advice?

    Warning: Cannot modify header information – headers already sent by (output started at /home2/iamidiot/public_html/wp-content/plugins/ungallery/configuration_menu.php:302) in /home2/iamidiot/public_html/wp-includes/pluggable.php on line 890

    @iamidiot did you just install/activate new plugin? if so this could mean that your plugin isn’t compatible with your WordPress version.

    Problem resolved for the original poster @iamidiot please open new topic.

    Moderator James Huff

    @macmanx

    burselfwoman, you’re welcome!

    iamidiot, you have unexpected whitespace (either a space or an entire line) on line 302 of the /wp-content/plugins/ungallery/configuration_menu.php file. See this guide for more info.

    Alternatively, replacing the file with one from a fresh download may resolve the issue.

    If that doesn’t help, please start your own topic.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] fatal error when activate new theme’ is closed to new replies.
Skip to toolbar