i have a big problem with blade.
I brought my theme to the server but in the production environment the ability to write files from php is blocked, it must all be versioned and built. The problem is that the theme tries to write to the blade cache folder (which I had to move to the theme) and gives me this error:
NOTICE: PHP message: PHP Warning: file_put_contents (… / wp-content / themes / special-issue-theme / cache / 20a03b37d2296fc9f35d4a57357067c45e58df42.php): failed to open stream: Permission denied in … / wp-content / themes /special-issue-theme/vendor/illuminate/filesystem/Filesystem.php on line 122 "
The problem is that all the pages give me blank page (not error 500).
Do you know how to solve the problem?
The only solution I see is to rewrite all the views without blades but obviously it is a job that I would not want to do.