Level 70
Maybe you can try with the incognito window?
Before that, can you run cache:clear command to clear your cache?
php artisan cache:clear
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I was following the Laravel 5.7 From Scratch series and then I reached episode 20 and then haven't worked on the series for a while. Now I come back and I get the 419 error every time I try to submit a form. No code has been changed since the last time it was working. Was there an update on something that I missed?
I've added:
// in the head
<meta name="csrf-token" content="{{ csrf_token() }}">
// under the <form> tag
@csrf
// above the ending <body> tag
<script type="text/javascript" src="/js/app.js"></script>
Please or to participate in this conversation.