ThemeShaper Forums » Thematic


child functions.php being saved by Wordpress.

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

    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:

    // Unhook default Thematic functions
    function 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 12 years ago #
  2. phar_fetched

    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 12 years ago #
  3. phar_fetched

    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 12 years ago #
  4. phar_fetched

    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 12 years ago #
  5. hmmm... i haven't had any problems w/ wp3.1 and thematic. i would re-upload thematic

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

    Posted 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.