• Updated from 3.0.5 to 3.1 on self-supported WordPress install. Stopped working – page would hang on render with error:

    PHP Fatal error: Cannot redeclare class Custom_Image_Header in …(path)
    /wp-admin/custom-header.php on line 16

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can fix this by changing twenty-ten-header-rotator/header_rotate.php (edit plugin):

    after the line

    function hr_rotate(){

    change

    require (ABSPATH.’/wp-admin/custom-header.php’);

    to

    require_once (ABSPATH.’/wp-admin/custom-header.php’);

    Thread Starter Ted Roche

    (@tedroche)

    after the line

    function hr_rotate(){
    change
    require (ABSPATH.'/wp-admin/custom-header.php');
    to
    require_once (ABSPATH.'/wp-admin/custom-header.php');

    Confirmed! That fixes it. Thanks!

    Had same issue. Now fixed, saved me hours – thanks for posting.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Twenty Ten Header Rotator] Broke on update to WordPress 3.1’ is closed to new replies.