I'm running October CMS v2.2.4 on a dedicated managed server with Cloudways. I keep getting "Invalid Security Token" every few minutes after saving any changes in the Backend and I'm forced to refresh the page, redo my changes, then save again. Any ideas on how to fix this?
Here are two possible solutions:
Give 775 permission to storage directory. The server may not have permission to create a session file.
Change session driver from file
to database
so the session will manage by the database instead.
SESSION_DRIVER=database