There are situations where the root cause for an error is not clear and requires extra steps to detect.
By default, Pagekit will hide any PHP errors. In order to show them, the Debug Mode must be enabled in System > Settings or it must be set to
true in the configuration file manually.
You can enable the Debug Toolbar, which provides some useful information about the environment, the same way. Notice that some server errors may prevent the toolbar from being displayed.
Remember to disable the Debug and Debug Toolbar when the site is deployed on a production server.