WordPress.org

Ready to get started?Download WordPress

Forums

Blog won't appear on server (5 posts)

  1. turbo90
    Member
    Posted 1 year ago #

    I had to set up my WordPress account all over again after my web server deleted my account. After many failed attempts I was able to install WP and create a new account. I'm able to access the dashboard and everything, but when I go to my URL the following message appears:

    Fatal error: Call to undefined function body_class() in /home/a4734548/public_html/blog/wp-content/themes/twentyeleven/header.php on line 70

    I need to fix this ASAP since my blog is part of a school project and I'm being graded on it.

  2. govpatel
    Member
    Posted 1 year ago #

    Did you try and switch to twenty ten theme and if theme works fine then delete twenty eleven and reinstall from a search with in admin panel by going to Appearance>>>>Themes.

  3. turbo90
    Member
    Posted 1 year ago #

    When I switch to Twenty Ten I get basically the same message:

    Fatal error: Call to undefined function body_class() in /home/a4734548/public_html/blog/wp-content/themes/twentyten/header.php on line 55

  4. govpatel
    Member
    Posted 1 year ago #

    Looks like you have a corrupted file in your install see if you can replace all files name folders except wp-content folder

  5. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    Which version of WordPress are you using? Such mistakes used to come in older versions.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.