Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

aliii010's avatar

Laravel's Default Exception Page

In my laravel project, when I get an internal server error, the default exception page where it shows the error message and the error details, is rendered with plain HTML without styling. It's not the same case in my other laravel projects. I don't where the issue is, I have searched a lot but didn't find someone with a same problem.

This is the page I am talking about: https://laravelnews.s3.amazonaws.com/images/4wkXFxjjlUx2M8iVVSSzddQTl7no2qEE78RSEMgr.png

Can someone please help me?

0 likes
1 reply
jlrdw's avatar

Have you modified something? But you can style the error pages or their layout template however you want.

Mine has for 419:

@extends('errors::minimal')

@section('title', __('Page Expired'))
@section('code', '419')
@section('message', __('Page Expired'))

Do you have the minimal.blade.php file?

Please or to participate in this conversation.