I just upgraded a client's site to WordPress 3.0.4, and the theme is not working. When I try to activate the theme, I get this error message:
Fatal error: Cannot redeclare body_class() (previously declared in .../public_html/wp2.7/wp-includes/post-template.php:359) in .../public_html/wp2.7/wp-content/themes/customthemename/lib/css_class_generators.php on line 88
Here are the first 88 lines of css_class_generators.php. Line 88 is the closing bracket:
My theme editing prowess is pretty much limited to CSS. Can anyone tell what's going on here that's causing this error?