Website is completely blank white, only backend works

I first installed the theme and then the child theme and it was working perfectly fine. I added the demo content and everything looked great. Then I went into theme options and it turned my entire site blank. I disabled all of the plugins and nothing. I reinstalled wordpress, the default theme worked but when I installed BeTheme again, its blank.

Error log says the following:

PHP Fatal error:  Call to undefined function  array_replace_recursive() in /home/******/public_html/wp-content/themes/betheme/style.php on line 147

What's the error here?

Comments

  • I got the same problem. Any help?
  • I have the same issue, anyone got a fix?
  • After searching through the forums and finding someone who had a slightly similar issue, I think I MAY have found the problem.

    If you are running on an older version of PHP for example 5.5 or lower, then you might be encountering an error like this
    "PHP Fatal error: Call to undefined function array_replace_recursive() in /http/wp-content/themes/betheme/style.php on line 147"


    Updating to a newer version of PHP (5.6 or higher) will most likely solve your issue.
  • edited June 2016
    To find out what version of PHP you have you can create a file in notepad with this in it:

    <?php
    echo 'Current PHP version: ' . phpversion();
    ?>

    and save it as version.php under all file types

    Upload it to the same main directory as your wp-config.php
    Navigate to the file on your website by typing it in the URL box like so:
    http://www.yourwebsite.com/version.php

    It should display the version of PHP you are using.
  • Hi,

    latest Wordpress version requires minimum PHP 5.6 version but your is much older. So what you need to do is contact with your admin and update php version because older versions doesn't support array_replace_recursive() function.
  • Thanks guys. Current host was useless so switched over and I'm going to be able to change PHP version myself and report back here.
Sign In or Register to comment.