• Just created a child theme, as I had made some modifications to a theme that I didn’t want to lose. I copied all the themes files into a different directory and reinstalled the theme. now I get this error –
    Fatal error: Cannot redeclare register_scripts() (previously declared in /homepages/23/d236124545/htdocs/wp-content/themes/childbelle/functions.php:16) in /homepages/23/d236124545/htdocs/wp-content/themes/belle/functions.php on line 27

    can’t think what might be causing it, especially as I replaced the functions.php file only yesterday

    Edit: Moved all the files back into original directory (including modified child theme style.css file, and its all working again.
    What is going on? and if the theme is updated will i still lose my modifications?

Viewing 3 replies - 31 through 33 (of 33 total)
  • Thread Starter dbphte1

    (@dbphte1)

    to be extra sure, i’ve made all the paths the full url, and the footer image is still being determined by the parent blue.css file.

    How is the parent’s blue.css being included? Is it being hooked in, via Theme Option?

    Thread Starter dbphte1

    (@dbphte1)

    yes, you select which colour scheme you use in theme option. Is there a way of transferring all the ‘links’ to the child theme’s blue.css, or will it have to be done for each individual function of the file?

Viewing 3 replies - 31 through 33 (of 33 total)
  • The topic ‘child theme – fatal error, seemed to be fine before’ is closed to new replies.