• When I install a child theme I keep getting this message and site ‘crashes’. I have done this 3 times now and nothing changes.

    Any ideas how I can get past this problem please?

    Fatal error: require_once() [function.require]: Failed opening required '/home/xxx/public_html/COMMISSIONER-FOR-OATHS.COM/wp-content/themes/toomlitechild/functions/admin-functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lawscape/public_html/COMMISSIONER-FOR-OATHS.COM/wp-content/themes/toommorel-lite/functions.php on line 5

Viewing 3 replies - 1 through 3 (of 3 total)
  • I bet the parent theme isn’t actually child theme friendly. In the functions file in the parent theme is it using require_once to include extra php files or locate_template. locate_template is child theme friendly since it takes the path of the child theme in to account first and then defaults to the parent. Using require_once is not child theme friendly since it will be looking in the child theme and not find the file b/c it’s in the parent theme.

    Thread Starter Bill

    (@orion47)

    Thanks for the reply and useful information.

    Do you think there is likely to be a simple fix or would required changes necessitate lots of code work?

    Thanks again.

    most likely it would require a bit of work. Can’t really give any type of time estimate without actually looking at the code.

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

The topic ‘ToomMorel and Child theme’ is closed to new replies.