Are you locked out of your website because of a theme error?
It recently happened to me. I navigated away from the WordPress admin area in the middle of a theme update and caused a huge error.
I wanted to log in and all I saw was a big error page. I first thought my IP address may have been locked out of my host, checked, nope.
Then I realized I caused the problem. I checked inside my Cpanel and noticed I had updated my theme but it was missing a stylesheet. I knew it would be fixed immediately if I changed the theme from Cpanel. Here is how to do it.
Step 1 – Access Cpanel
If you are hosting with us you can access this from your administrator login area or just type it into the address bar. If your domain name was yourdomain.com it would be yourdomain.com/cpanel.
Step 2 – Go to PHPmyadmin
Again if you are hosting with us type in php in the search bar and click the application.
<img class=”tve_image wp-image-201″ alt=”phpmyadmin icon in cpanel” width=”1425″ height=”503″ title=”phpmyadmin in cpanel” data-id=”201″ src=”//digitalpowerups.com/wp-content/uploads/2017/10/change-theme-post-phpmyadmin.png”>
Once in phpmyadmin you will see your databases on the left. Click the one with your wordpress installation. Often times it will have WP and them a couple numbers like in this image:
<img class=”tve_image wp-image-202″ alt=”databases inside phpmyadmin” width=”760″ height=”448″ title=”databases in phpmyadmin” data-id=”202″ src=”//digitalpowerups.com/wp-content/uploads/2017/10/phpmyadmin-databases.png”>
Once you click the database there will be a drop down menu. select the wp options folder.
<img class=”tve_image wp-image-203″ alt=”wordpress options folder” width=”225″ height=”293″ title=”wp options” data-id=”203″ src=”//digitalpowerups.com/wp-content/uploads/2017/10/wp-options.png”>
Next there may be a couple pages of results, go through them until you find a 2 files labeled “Template” and “Stylesheet” Next to those two items you should see the current theme. In the image below I have the Divi theme installed.
<img class=”tve_image wp-image-206″ alt=”the template and stylesheet folders” width=”879″ height=”329″ title=”How to change theme in cpanel – template and stylesheet” data-id=”206″ src=”//digitalpowerups.com/wp-content/uploads/2017/10/template-and-stylesheet.png”>
You will next need to click edit and type in the name of another theme that is installed on you wordpress site. If you recently started the site there is likely the “Twentyseventeen” theme. Next click “Go” in the botton right corner.
You will need to do this for both the Template and Stylesheet folders.
After that go to log in to your site as normal, is should be back and ready to go for you. I would recommend deleting and reinstalling the previous theme that broke.
If this doesn’t fix the problem and you host with us, please submit a support ticket and we will see what we can do for you.