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

jonas1's avatar

(1/1) TokenMismatchException How to fix this.

Hi, How do I fix (1/1) TokenMismatchException

I began having this error when I manually added a file that was missing in storage/framework/views.

0 likes
3 replies
Snapey's avatar

You should never need to create a file in storage/framework/views ?

That is where there cached views are stored. The framework automatically creates them after you edit a view

jonas1's avatar

oh! Thanks for your respond. It seems as if my site is not creating them automatically because I have been adding them from a backup file. How do I get my site to create them automatically?

jonas1's avatar

I just had to give proper permission to the storage folder. This solved it

Please or to participate in this conversation.