-
Hello,
The new update 1.7.1 broke my child theme. I saw that some modifications in the arcane functions.php are from the old get_template_directory() with the new parameter get_theme_file_path(). But when I try to active my child theme I have these errors below:
PHP Warning: require_once(/public_html/wordpress/wp-content/themes/arcane-child/themeOptions/functions.php): failed to open stream: No such file or directory in /home/gather/public_html/gather/wp-content/themes/arcane/functions.php on line 9
PHP Fatal error: require_once(): Failed opening required ‘/public_html/wordpress/wp-content/themes/arcane-child/themeOptions/functions.php’ in /home/gather/public_html/gather/wp-content/themes/arcane/functions.php on line 9
PHP Fatal error: /public_html/wordpress/wp-content/themes/arcane/functions.php on line 9
And line 9 in functions.php is this: require_once (get_theme_file_path() .’/themeOptions/functions.php’);
Is there any solution with this problem? I don’t want to copy all unnecessary parent theme files in order for this to work.
Thanks.
-
Please use the search before making a post. Your question maybe be already answered!
-
Do you need customization work? Are you having trouble installing Wordpress? Feeling lazy and want somebody else to do the hard work for you?
Join our discord!
Need hosting?
Follow us!