This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Pretty PHP Error Pages


This plugin utilizies the [Whoops!] PHP Error Page to display better error pages when fatal PHP errors are thrown. Whoops! gives you much more information than what PHP gives you by default, including the code before and after where PHP identified the issue, and displays other information available to PHP that may be helpful.

The minimum PHP version required is 5.3, as this is what is required by Whoops!

NOTE: This plugin should only be used in development. It will show sensitive information, like your database credentials that are stored as constants.

Also note that WP_DEBUG is required to be on for this plugin to do anything, further enforcing the point that this plugin should only be used in development, NOT on a live site!


  1. Upload to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Make a PHP fatal error!


I get the plain error message

This may happen depending on where the error occurred. Because this is set up as a WordPress plugin, if for some reason a PHP error happens before this plugin is able to load, the pretty PHP error page will not be displayed.
Also make sure that WP_DEBUG is set to true, or this plugin will do nothing.

How can I make sure it is always displayed?

You will need to install [Whoops!] manually. I would suggest setting it up in your wp-config.php file, so that it is loaded and ready to go before WordPress really get’s loaded.

Contributors & Developers

“Pretty PHP Error Pages” is open source software. The following people have contributed to this plugin.




  • Initial release. Just a plain old PHP error page replacement