• Resolved morelen

    (@morelen)


    I am using WP for a Web site and I need to access the dashboard, but whenever I click “Site Admin” in the Meta widget, I get the following message:

    Fatal error: Call to a member function on a non-object in /home2/georgiai/public_html/wp-includes/theme.php on line 387

    I went into the code and looked at line 387, but I don’t know what to look for. Can someone please help me? This is an active organization Web site and I must access the dashboard ASAP.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You may have a problem in your current theme. FTP into your site and rename your current theme’s folder in wp-content/themes. That should activate the default theme and allow you to access your site’s Admin area again.

    Thread Starter morelen

    (@morelen)

    I tried it, but it didn’t activate the default theme; it just didn’t display the Web site and I still got the error.

    Btw, here’s line 387 in the code:

    while ( ($subfile = $template_subdir->read()) !== false ) {

    The problem is not in theme.php. It’s almost certainly in your theme. What folders do you have in wp-content/themes? What files are in wp-content/themes/default?

    Thread Starter morelen

    (@morelen)

    I’ve been using this same theme (the one in the spring09 folder) since I created it earlier this year and I’ve never had a problem with it until now.

    In wp-content/themes I have:
    ChinesePeach
    classic
    default
    spring09

    Um, there are tons of files in wp-content/themes/default. Why do you want me to list all of them? I haven’t changed any of them.

    Thread Starter morelen

    (@morelen)

    I hope I’m not breaking any rules by bumping this topic to the top, but I really need help with this ASAP.

    Thread Starter morelen

    (@morelen)

    Problem solved. We found out on another Web site that someone tried deleting the ‘themes’ folder and creating a new one and that fixed the problem for them. I tried it and re-uploaded my theme and it worked for me, too.

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

The topic ‘Fatal error when trying to access dashboard’ is closed to new replies.