Laravel 5.5 Error – “The page has expired due to inactivity. Please refresh and try again.”

i am trying to submit a form with some fields and showing this error “The page has expired due to inactivity. Please refresh and try again.” so when I look my form very carefully then i found that one CSRF token verification is missing.

  1. you have to do one thing add @csrf or {{ csrf_field() }} in your form.
  2. and then run below command to clear your app cache
php artisan cache:clear
php artisan r:cache
php artisan view:clear

References :

Click Here

Chandan Kumar
Follow Me: