PDA

View Full Version : Can not activate Socrates Theme



edmercer
07-06-2010, 05:47 AM
I have uploaded theme to my wordpress blog and am getting this message

Fatal error: Call to undefined function: body_class() in /home/photoglg/public_html/wp-content/themes/socrates/header.php on line 104

when I try to activate the theme in my control panel. Any suggestions?

lynnth
07-06-2010, 05:56 AM
body_class is a function that was added to WordPress in version 2.8. What version of WordPress are you running?

edmercer
07-06-2010, 06:46 AM
I am using 2.7.1, do I need to update to version 3.0 to make things work.

lynnth
07-06-2010, 06:52 AM
Yes, you should upgrade to 3.0 - Many of the new themes and plugins are not compatible that far back.

edmercer
07-06-2010, 06:59 AM
Thank you that was the problem, I appreciate the help.