WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] 2nd Dashboard and site went down (3 posts)

  1. BrianBam
    Member
    Posted 2 years ago #

    So, I was working on this site and just as I had everything ready and was doing some final touch ups the site went down and the dashboard for that site stopped working. I believe that it happened after I uploaded a file into the theme.

    I had a copy of the theme on my hard drive so I deleted the theme from my hosting and then the dashboard for that site started working again. For some reason whatever is in the theme is causing my dashboard for a specific site not to work.

    Any help would be great because I'd really like to put this site up. thx

  2. bdflynn
    Member
    Posted 2 years ago #

    Double check your functions.php. I've ready in a handful of articles that having bad code in your functions.php file will cause your dashboard to fail.

  3. BrianBam
    Member
    Posted 2 years ago #

    Thx that was the solution. I left off a comma in the functions file. That was really lame that it shuts down everything for that site. The funny thing is that even when the theme wasn't installed somehow it specifically affected only the one site. I have no idea how it made that connection. I even deleted the theme and selected another theme for that specific site, but I uploaded it again I still got that error. weird.

    if (function_exists('register_nav_menus')) {

    register_nav_menus(
    array(
    'Side_Nav' => 'Side Navigation Menu',
    'Main_Nav' => 'Main Navigation Menu',
    'Second_Side_Nav' => 'Second Side Nav Menu'
    )
    );
    }

    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic