I have this really strange error that I'm struggling to figure out.
I have a command that will cache the homepage. If I run
And then try and load the site it tells me
file_put_contents(/home/sites/staff.habbocreate.com/storage/framework/cache/data/80/b6/80b69166730ee957730d0770e96781dbd90ae953): failed to open stream: No such file or directory (View: /home/sites/staff.habbocreate.com/resources/views/frontend/home.blade.php)
Its like being logged out causes the error. Except, I can cache the first time without being logged in via my browser and that works no problem.
Here is HomeController.php https://pastebin.com/P1uNNWEs
I don't expect anyone to figure it out, just an idea why it might be going wrong. Any help would appreciated though.