Saturday, June 19, 2021
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

Organic Food and Its Importance for Our Health and Our Planet

Food constitutes one of the pillars of human survival, besides being a source of our energy. Over the years of evolution, food...

List of Organic Vegetables Price in Delhi from Organic Food Suppliers

After facing the pandemic and realizing the need to build strong immunity in our bodies, we today witness a strong push towards...

Top Gift Ideas To Celebrate This Christmas Day With Your Family

Christmas is celebrated every year on the 25th of December. It brings joy and cheers to our life. People celebrate Christmas to...

KBC Question Categories 2020

Kaun Banega Crorepati is one of the most popular t.v game shows in India. The show takes its inspiration from the British...

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