Skip to content

Error Handling

All errors are displayed by the beautiful Whoops page. This page will show you everything you need to debug your error.

By default this error page will only run in the development environment.

If you would like to add this page to other environments, you can add the following setting to the chosen environment

config/environments/staging.php
Config::define('WP_DEBUG', true);

To temporarily hide the Whoops error page, append the following query parameter to your URL:

https://cool.website?wpe

However, it will still display the original PHP error.