Saturday, June 25, 2022
Home Technology Blank Screen after Wordpress new theme installation

Blank Screen after WordPress new theme installation

Have you recently installed a new wordpress theme and encountered “Call to undefined function wp_body_open()” error or see an empty white screen? Here are the steps you can follow to check and mitigate the error.

Step 1.
Do a View Source of your home page and check the html output. Make sure you caches are cleared from CDN or server.
If you find that there is no code after the <body> tag start in the html source code then this is the problem we are going to address. If you can see the entire content as it should be then this solution is not for you.

Step 2.
Check your error log or activate wordpress debug mode to display the PHP errors and warnings. You can also add a few lines of code to your htaccess file to get the same results. To learn more about activating debug mode refer to this article here. I use the easy method of viewing the error log file in my blog’s root folder using my webhosting’s file manager.

Do you see something like – Call to undefined function wp_body_open()? This means your new theme is looking for a specific functions that your wordpress cannot provide. This happens mostly with older wordpress versions.

Step 3.
Upgrade to the latest wordpress version. If you PHP version is lower than 5.6 it won’t let your install the latest wordpress update. So your next step is to upgrade PHP version. If your hosting provider gives you the MultiPHP tool in the cpanel you can easily choose a higher version of PHP for your selected domain. But, If that feature is not available then you will need to seek the hosting providers tech support help to get the right PHP version installed for your site.

That should sort out the Call to undefined function wp_body_open() problem or empty white screen problem in wordpress.

Most Popular

Top 10 Coding Competitions for Kids: Junior Coding Championships worldwide

If your child has been into coding and app development recently and you wish to show off their coding skills then enrol...

Turn on Less Secure Apps in Google Workspace Gmail accounts

Sometimes a developer needs to send emails from Gmail or Google Workspace email account or mail server from their website or app....

Construction Financing: Everything You Need to Know

Thinking about building a new home? Construction financing can help. In this article, we will help you figure out...

Set Shipping Rules on Wix

We understand that working on wix control panel can be a little overwhelming to beginners. Despite having 12 years of experience in...

MY DICTIONARY PROJECT

I have started a new project called the Indic Dictionary. This will cover popular household words in India and what they are called in various languages. Eventually, I will make this an easy to use app where where people can easily find something like “hing in English” or “Tea Tree Oil in Hindi” or “carrom seeds in Urdu”.