1.8.1 Upgrade – Blogpage stucks loading FIX

  • In Progress
    Posted in: Arcane  
  • Member
    LKNickname
    December 1, 2017 at 7:57 pm #106816

    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 🙂

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.