Forums

[resolved] Fatal error when trying to access dashboard (7 posts)

  1. Morelen
    Member
    Posted 1 month ago #

    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.

  2. esmi
    Member
    Posted 1 month ago #

    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.

  3. Morelen
    Member
    Posted 1 month ago #

    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 ) {

  4. esmi
    Member
    Posted 1 month ago #

    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?

  5. Morelen
    Member
    Posted 1 month ago #

    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.

  6. Morelen
    Member
    Posted 1 month ago #

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

  7. Morelen
    Member
    Posted 1 month ago #

    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.

Reply

You must log in to post.

About this Topic