-
After upgrading to the newest version I was not able to open up my single-blog pages.
They just kept stucking in the loadingscreen.WP_Debug threw this error:
[01-Dec-2017 19:48:41 UTC] PHP Fatal error: require_once(): Failed opening required '/home/wp/disk/wordpress/wp-content/themes/arcane_child/blog-single.php' (include_path='.:/usr/share/php') in /home/wp/disk/wordpress/wp-content/themes/arcane/tmp-1right-sidebar.php on line 18 [01-Dec-2017 19:48:41 UTC] PHP Warning: require_once(/home/wp/disk/wordpress/wp-content/themes/arcane_child/blog-single.php): failed to open stream: No such file or directory in /home/wp/disk/wordpress/wp-content/themes/arcane/tmp-1right-sidebar.php on line 18
I do not know if this only happens when you call functions of arcane through a child-theme like I do…However I took a look into the php-file.
Line 18 of the given php file looked like this:
<?php require_once (get_theme_file_path .'/blog-single.php'); ?>
You can fix this error by changing that to:
<?php require_once (get_theme_file_path('blog-single.php')); ?>
Just a quick “heads-up” for the DEVs, maybe they can reproduce this and fix it in further releases 🙂
-
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!