WordPress is among the top CMS platforms using now a days. As it is open source and provides lots to plugins and features to enhance its core functionality. With WordPress a not-techie can also develop professional looking website with almost negligible knowledge of programming. But sometimes it may be plugin, theme or an update can make your WordPress website to stop working. You might get a white screen of death or might not be able to login to WordPress Admin panel etc. etc.,
In all to the above mentioned there is one thing very common that is you won’t get any php error at front end you’ll only get a white screen. And without knowing actually where the error is you can’t make your website to run again. So, In order to view errors in front end we’ve to enable Debugging in WordPress. With this option enabled you can view various errors in your browser and you can easily go to that particular file and edit that code to resolve the error. In order to enable it you need to have a cPanel access to your website.
Steps to enable debugging in your WordPress website –
1. Login to your WordPress cPanel using your cPanel Credentials or you can access cPanel through you hosting account as well.
2. Now locate File Manager in your cPanel. This will open Files of your server.
3. Locate your website folder which is usually inside public_html folder.
4. Explore wp-config.php which is in the root of your WordPress installation.
5.Open Wp-Config.php in code editor or text-editor whichever you like and paste the following in there –
// Enable WP_DEBUG mode
6. Now save your file and refresh your website. You’ll get the exact error which is making your website to stop working.
Hope, this will help you resolve your WordPress error. Subscribe us to keep yourself updated.