• I’m new to WordPress and in the process of building my first site using the Hueman Theme, great theme by the way!

    My site is hosted at Bluehost and I’ve been creating a child theme there. I copied the .php files into my hueman-child folder for editing and then got an “Internal Server Error” on my site.

    By process of elimination, copying the .php files one by one, I found that “function.php” is what sets it off.

    If I copy it over, the site goes down, if I delete it again then the site is back to normal.

    Is there anything in that file that could be causing the error?

    Thanks for any help.

Viewing 1 replies (of 1 total)
  • .

    (@techievous)

    Is there anything in [copying the entire functions.php to child theme] that could be causing the error?

    That’s the issue right there. You don’t copy the entire functions.php to the child theme; that file is load differently from the rest.

    Your child theme’s functions.php will load in addition to the parent theme’s functions.php. Again, it doesn’t overwrite its parent; it loads in addition to the parent theme’s functions.php.

    Read more here: https://codex.www.ads-software.com/Child_Themes#Using_functions.php

Viewing 1 replies (of 1 total)
  • The topic ‘Internal Server Error caused by function.php ? (Bluehost)’ is closed to new replies.