Mike Jolley
  • Blog
  • Projects
  • Work
  • Contact
  • Forrst
  • LinkedIn
  • Google+
  • Twitter
(Snippets)

Debugging with WP_DEBUG_LOG

The constant WP_DEBUG_LOG is something I’ve only recently discovered — when added to wp-config.php it enables a log of WordPress errors and notices to be saved to wp-content/debug.log.

define( WP_DEBUG_LOG, true );

This is very handy when debugging plugin errors, especially hidden ones like those which occur on plugin activation.

Found this post useful? Why not buy me with coffee :)

  • Nov 18th, 2011
  • Discuss on Twitter
  • debug, PHP, WordPress

About me

Photo of me

Hi there! I'm a front-end web designer & developer based in Cambridgeshire, England. I have nearly 10 years experience creating clean, usable websites and developing neat, functional WordPress Themes & Plugins. I'm passionate about web standards and love to code using semantically correct HTML5 & CSS3.

During the day I'm a development ninja for WooThemes, working on application style WordPress themes, plugins in the WooLabs, and WooCommerce.

To contact me about a project or any of my work send me an email. You can also get in touch with me via Twitter.

#mike-jolley {
skills:
WordPress, HTML5, CSS3, Mobile, jQuery, PHP/MySQL;
experience:
10-years;
tools:
MacBook Pro, Coda, Chrome, Fireworks;
}

© Copyright 2012 Mike Jolley. All rights reserved.

Built upon WordPress using valid HTML5 + CSS3.

HTML5