• wow – this nasty error came back when i switched to the “twewnty-ten” weaver theme.

    PHP Fatal error: Cannot redeclare _checkactive_widgets() (previously declared in /var/blah.blah/wp-content/themes/twentyten-multiweaver/functions.php:853) in /var/blah.blah/wp-content/themes/twentyten/functions.php on line 506

    ideas?

    i posted this before and thought i had it fixed. DARN IT.

Viewing 3 replies - 1 through 3 (of 3 total)
  • To me it looks like a problem with the child theme functions.php declaring the same function already present in the parent theme’s functions.php. When creating a child theme, one can straight up replace any file in the parent folder by creating a file of the same name in the child folder – EXCEPT the functions.php. The functions.php of the parent theme will always be included so functions.php of the child needs only declare additional functions. For twentyten, some functions can be replaced by a child if ( ! function_exists(...) wraps the parent functions but not others.

    I just looked more closely at the twentyten functions.php I have just downloaded from:

    http://wordpress.org/extend/themes/twentyten

    The twentyten functions.php doesn’t have the _checkactive_widgets function and only has 484 lines. So something isn’t right with your parent theme. Looks like you’ve added the same function to both parent and child, instead of just to the child.

    I recommend installing a fresh copy of twentyten.

    Thread Starter edwardsmark

    (@edwardsmark)

    david –

    may i ask exactly which one(s) needs to be installed, and in which order? there supposedly is a parent and child but i cannot figure out which ones are really required.

    at this point i assume i should just remove anything that says “weaver” and start over??

    i installed a 2010 and that seemed to give a different set of options. i suspect that was really meant for the single user environment.

    i thought i had all this working already!

    thank you ever so much,
    mark

    twentyten is the parent. There is only one twentyten and it is the default theme for single and multisite:

    http://wordpress.org/extend/themes/twentyten

    To learn more about Child themes in general go to the codex:

    http://codex.wordpress.org/Child_Themes

    To learn more about troubleshooting Weaver read their forums:

    http://wpweaver.info/forum/

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘ongoing issue using weaver’ is closed to new replies.