-1

I've upgraded my ubuntu server to version 18.04.1. After the upgrade my laravel website keeps displaying TokenMismatchException in every single POST page. The only exception to this rule seems to be the login page, which works for some users and not others.

My local virtual machine with version 16.04.4 works normally.

I'm stuck in this all morning, with my website down.

1 Answers1

0

After many attempts including an server rollback that did not immediately work, it just randomly started working by showing less and less errors until they were all gone. I'm not exactly sure what was the key to solving it.

My final version included:

  • SESSION_DRIVER => 'database'
  • SESSION_DOMAIN => null
  • Complete server rollback
  • Many cache clears
  • Erasing all remember_keys
  • Erasing all browser data