We’ve just moved a site onto a hosting company’s server which is running PHP version 5.6 and are seeing only blank pages, with all our content missing. When we change the site to the default WordPress 2016 theme the content reappears in the theme’s layout.
Thanks but we’re not changing domain. We have migrated plenty of Beaver powered sites before, but never had this problem. In fact, the site that is returning blank pages, was working just fine until the hosting company ‘upgraded’ it to a server running PHP 5.6.
As we said earlier, it works fine on WP 2016 theme, but not Beaver. What’s likely to be causing it? Sorry to repeat question, but I think it was mis-read as a ‘domain change’ earlier?
Although the pages are blank, viewing source (with Beaver Theme enabled) it appears it crashes out before finishing the <head></head> tags. The last few lines that appear are:
The site works fine with literally any default theme (2014, 2015 or 2016) but as soon as we activate Beaver theme (or child theme) we get the same blank page on the front end, which when you view source has a some <head> code and then nothing else.
Just to clarify - the site was working just fine, with these files, plugins, etc. - until the host moved it to a server running PHP 5.6 and now we’re getting the issues described above, so it has to be a server issue clashing with a Beaver issue (given that other themes work ok).
We’ve put debug to true. As for disabling the plugins, feel free to do whatever you want in terms of deactivating them (we already tried that). W3 was already disabled, within its settings, but I just deactivated the plugin too as you requested, but realistically feel free to do what you want as none of it seems to work - hopefully you have better luck!
Warning: file_put_contents(/home/linweb15/c/xxxx.co.uk/user/htdocs/wp-content/uploads/bb-plugin/cache/10-layout.css): failed to open stream: No such file or directory in /home/hp3-linc1-nfs2-z/519/307519/user/htdocs/wp-content/plugins/bb-plugin/classes/class-fl-builder.php on line 2072
Seems the path has been changed (due to the server move) but Beaver looking for it in the wrong place, despite multiple attempts to clear the BB theme cache?
PS. @Danny please obscure domain name if you post any errors etc.
Yeah, your issue isn’t related to PHP 5.6, but your server move. I think you’re going to need to do some investigation and also, ask you host to as well.
I also loaded BB on a test server using PHP 5.6.10 and it worked as intended.
Another possibility, could be a permissions issue.
Also, you can set WP_DEBUG back to false, to prevent the printing of errors.
Hi Danny, the error I posted up there seems to be key and it does relate to Beaver - it’s trying to access a path that no longer exists (due to directory change) - so how do we stop it doing that?
I mentioned above (I edited my post, sorry) with seeing the mkdir in the errors, it may be a permissions issues with Beaver Builder unable to execute mkdir() to create the cache dirs. Ask you web host provider what the permissions on those directories.
Can you confirm which directories you’re referring to and what permissions they would need? It seems to me that something in the Beaver configuration hasn’t updated to realise that the directory structure has changed.
You can see from the error I shared earlier, it seems to be mixing:
One was presumably the path before the server upgrade/change and the other one is the old one. Where is Beaver storing these two paths and how do we ‘reset’ them?
Just so I understand correctly, the directory in the errors printed to screen. Which is the directory from your new hosted environment and your old one?