Servage Magazine

Information about YOUR hosting company – where we give you a clear picture of what we think and do!

Error messages in WordPress with WP Debug

Wednesday, August 4th, 2021 by Helge


Servage Webhosting makes is very easy to run WordPresses via our services. We offer an application installer which installs that tool for you with few clicks only. Check HERE to see how to use the application installer.

However, sometimes a WordPress page can get stuck and you see error messages. In this blog, we like to give information about

Enable error messages in WordPress with WP Debug

Let’s start and lets take a look at enabling error messages in WordPress with WP Debug:

For example, display an all-white page, an error 500 error or an error message that the page has technical problems. It can also be the case that functions on the page do not work at the touch of a button or that you can not start a new extension / theme etc. Then you can quickly activate the function in WordPress which shows a more accurate error message.

In order to activate the function, you will need to access the file

You can enter and edit the file either via the Servage Filemanger, via FTP or via SSH. The file wp-config.php contains this line:

define (‘WP_DEBUG’, false);

This is to be changed to:

define (‘WP_DEBUG’, true);

 If there is no line with WP_DEBUG it needs to be added to wp-config.php  A tip here is also that you should disable cache on the page. If you have the line in your wp-config:

define (‘WP_CACHE’, true); 

Should you change it to:

define (‘WP_CACHE’, false);

 To ensure that the page does not appear in cache mode when troubleshooting. Change the line in the file and then upload the file again.  You will now probably get an error message on the screen that can be traced to an extension (plugin) or theme. You can then update this plugin via FTP (look it up on  download, unpack and then replace the files in your FTP under the directory wp-content / plugins /)  See also this guide  Then test if the page works again. If not, delete the extension files completely from your FTP.  When you are done, change back according to:

define (‘WP_DEBUG’, false)

Now, lets take a look at how to handle Internal server error in WordPress 

In case of questions or remarks, don’t hesitate to contact us. Our support is 24/7 available for you via support ticket and chat.

Error messages in WordPress with WP Debug, 5.0 out of 5 based on 2 ratings
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

No comments yet (leave a comment)

You are welcome to initiate a conversation about this blog entry.

Leave a comment

You must be logged in to post a comment.