Uncategorized

Wordpress error solution

Nothing is more terrifying than when your WordPress site goes down, especially when you get an alarming message like “There has been a critical error on this website.”

Sleep better at night with Kinsta’s premium WordPress hosting

View plans

When you’re locked out and the frontend is entirely down, you need to know how to fix the critical error now. Every minute that passes is driving away visitors as they encounter a glaring error screen.

Luckily, fixing this critical error is usually just a matter of adding a small PHP function or deleting a problem plugin. Here we’ll go over a variety of ways to troubleshoot this issue and get your site up and running again fast
Enable Debug in WordPress
If you’re having trouble with WordPress, one of the first things you should do is enable debugging. With debug mode on, you’ll be able to see the various PHP errors occurring on your site, and you can use this to trace back to the root of the issue.

As you may be unable to access your dashboard, you’ll also need to enable the debug log. This will write all PHP errors to a file.

If you’re hosting with Kinsta, enabling debugging with MyKinsta is very easy. Just log in to the hosting dashboard, then go to Sites > Tools > WordPress debugging and click Enable. You can then look around your site to find the cause of the issue or check the log. Make sure to disable debugging when you’re done, as it’s visible to your visitors as well as you.

If you need to manually turn on debugging, or you need to access the debug log, follow these steps.

Step 1: Connect to your site with FTP.
Step 2: Find wp-config.php in the root folder and open it with a text editor or IDE.
Step 3: Place the following code at the bottom of the document, just before the final message, then save and close the file:
define( ‘WP_DEBUG’, true );

define( ‘WP_DEBUG_DISPLAY’, false );

define( ‘WP_DEBUG_LOG’, true );
Here’s what it will look like when done:

wp-config.php debug.
wp-config.php debug.
Debugging is now enabled on your site and errors will be written to the log. You can find the debug log in the wp-content folder, named debug.log.

Look for names of your theme or plugins which will point to them being the cause or references to a specific file. Even if you aren’t sure what to do with this information, save it someplace — it can help you if you need to reach out for support.

When you’re finished debugging, make sure to remove these lines of code.

Roll Back Your Site
When WordPress errors rear their head, restoring a backup can be a quick and easy way out. While it won’t always solve the issue, it’s definitely worth a shot. And if the problem happens again, you may be able to retrace your steps next time.

How you restore your website all depends on how you backed it up. If you use a plugin, follow the instructions in the documentation. If backups are included with your web host, you’ll likely be able to do it from your hosting dashboard.

For instance, Kinsta users can restore a backup by logging into MyKinsta, finding your site under Sites, going to the Backups tab, then clicking Restore to…

Before restoring to your live site, try it on a staging site to ensure that the site is indeed functioning and you’re not overwriting your hard work.
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital
scubbydigital

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button