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.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.