Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127
child functions.php being saved by Wordpress. « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

child functions.php being saved by Wordpress.

(5 posts)
  • Started 4 years ago by phar_fetched
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. phar_fetched
    Member

    I'm pretty new to all this so maybe I'm making a blinding error but its one that keeps coming up regardless of the theme I'm using.

    Function file:

    <?php
    
    // Unhook default Thematic functions
    function unhook_thematic_functions() {
        remove_action('thematic_header','thematic_blogtitle',3);
    }
    add_action('init','unhook_thematic_functions');
    
    ?>

    Obviously, this is just a simple function to remove the blog title but everytime I enter the dashboard I get a fatal error message:

    Fatal error: Cannot redeclare _verify_activate_widget() (previously declared in C:\xampp\htdocs\wordpress\wp-content\themes\chiron\functions.php:12) in C:\xampp\htdocs\wordpress\wp-content\themes\thematic\functions.php on line 170

    Which is then followed by a message in my text editor (Textpad) that my child functions file has been updated by another program. When I cut and paste the text and save it again it works fine but only for one action (i.e. going to the themes menu on the dashboard), any actions after that I get the same problem.

    I have also recently updated Wordpress.

    Posted 4 years ago #
  2. phar_fetched
    Member

    I should add that things are absolutely fine outside the dashboard, I am able to edit the functions.php file and refresh without any errors, it is only when i go into the dashboard that I get the problem. Also there is no problem when the functions.php file does not exist

    Posted 4 years ago #
  3. phar_fetched
    Member

    Seems to be the very existence of the functions.php file because even when only the css files are called from it I get the very same error.

    Posted 4 years ago #
  4. phar_fetched
    Member

    have had to create a new theme from scratch so although not urgent I would appreciate any feedback any one had to offer on this issue.

    Posted 4 years ago #

  5. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    helgatheviking

    Moderator

    hmmm... i haven't had any problems w/ wp3.1 and thematic. i would re-upload thematic

    http://developing.thematic4you.com/thematic-development-release/

    and start over with a blank child theme. then put your above code in your child's functions.php

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183