Forums

Classes.php error on main page - Please help! (6 posts)

  1. bahcevan
    Member
    Posted 3 years ago #

    Main page of my blog http://cafefernando.com/turkce/ displays error messages I can not get rid of. The pages work fine:
    http://cafefernando.com/turkce/about/
    But the main page http://cafefernando.com/turkce/ as well as post pages
    http://cafefernando.com/turkce/vietnam-kahveli-dondurma/
    display the error message. Per the error message, I replaced the classes.php file from a fresh wordpress 2.6.5 but nothing changed. This happened while I was revising a page. I did not activate any plugins prior to the error message.
    Does anyone have an idea what might have caused this? many thanks in advance. Cenk

  2. JLeuze
    Member
    Posted 3 years ago #

    I think the problem is with your theme, not the WordPress core files, but it wouldn't hurt to update to 2.7!

    First off, switch to the default theme, if it is no longer broken, it is your theme. I think the problem is in your header.php file, or in one of your page template files, near where the header is being called.

  3. bahcevan
    Member
    Posted 3 years ago #

    Thanks for writing. I switched to the default theme and nothing changed. Error messages were still there. Any other thoughts?

  4. JLeuze
    Member
    Posted 3 years ago #

    Well, you know that it's not in the theme. So it must be WordPress.

    I would either reinstall 2.6.5 or upgrade to 2.7.

    Either way, make a full database backup, and then delete the old files first, make sure you don't delete the "wp-content" directory. Then download a fresh copy of whichever version you want to use directly from WordPress.org, and reinstall all of those files besides the "wp-content" directory.

    It's easier to just reinstall WordPress completely then to try and figure out which file or line of code has a problem with it :)

  5. JLeuze
    Member
    Posted 3 years ago #

    Oh, one other thing, plugins, disable your plugins and make sure that none of them are causing this...

  6. bahcevan
    Member
    Posted 3 years ago #

    I've tried disabling the plugins but it didn't help. Upgrading seems to be the most logical step, but I always experience problems whenever I do that.... Thanks for your advice.

Topic Closed

This topic has been closed to new replies.

About this Topic