Child theme not working
-
I have attempted several times to create a child theme for my prefered theme Reach.I was successfully able to create a child theme for the twentyeleven theme. However, when I activate the Reach child i get the following error and cant use WP-admin or access my site.
Warning: require_once(/home/baltimor/public_html/word/wp-content/themes/reach-child/raw_framework/options/options-framework.php) [function.require-once]: failed to open stream: No such file or directory in /home/baltimor/public_html/word/wp-content/themes/reach/functions.php on line 825
Fatal error: require_once() [function.require]: Failed opening required ’/home/baltimor/public_html/word/wp-content/themes/reach-child/raw_framework/options/options-framework.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/baltimor/public_html/word/wp-content/themes/reach/functions.php on line 825
It seems that the child cannot find the needed PHP files from the parent? Per the WP tutorial, I added
require_once( get_stylesheet_directory(). ‘/my_included_file.php’ );
to the css but it didnt help.
I then manually added the files that the error was requesting to the Reach Child directory. /raw_framework/options/options-framework.php This fixed the error for that specific file however a new error would pop up with a different php file after a refresh.
What should I do? Keep adding all the files it is requesting (which seems to go against a child theme) It seems like there should be a better approach? Any help would be great. Thanks!
The topic ‘Child theme not working’ is closed to new replies.