Hi everyone!
I would like to costumize the error page but I can’t manage to do that.
I added a file called error.php in the template folder and added some text but when I get an error I see the this page:
Is there anything else I need to do to make it work?
Thanks!
Exactly, you get the above when you have an error in your code, and debugging is not enabled. This is so that the cause of the error is not given away in production.
Whereas the error.php template will show a message to your visitors if a page doesn’t exist.
Note that the above fatal view can also be configured: fatal | Kirby CMS