WordPress Debug

Simple WordPress debugging

In the file wp-config.php, add the following code:

if ( isset($_GET['debug']) && $_GET['debug'] == 'debug')
  define('WP_DEBUG', true);

I add ?debug=debug to its URL and see what’s causing the trouble.

Change that second ‘debug’ to a key of your own choosing, so not everyone out there can open debug mode on your blog


Geplaatst

in

,

door

Tags:

Reacties

Geef een reactie

Het e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *