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?
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
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.
<?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.
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.