Sandbox based theme breaks on upgrade to 3.0.4 (1 post)

  1. cdragin
    Posted 4 years ago #

    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:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    My theme editing prowess is pretty much limited to CSS. Can anyone tell what's going on here that's causing this error?

Topic Closed

This topic has been closed to new replies.

About this Topic