Undefined variable in blade file, but it doesn't even exist anymore
I replaced a blade file with a new file with the same name.
Now I get "Undefined variable" error. The variable doesn't exist anymore (also not in the Controller).
I even deleted the file completely to check that I load the correct file. Then I get "file not found" error, so I know it is the correct file.
Why does it still look for the old variables even after I did php artisan cache:clear? Is there anything else I should clear
if you find yourself having to use view clear then you might have a time difference between your local machine and your server. Normally the caching process works perfectly but it relies on timestamps to know that the source file is newer than the cache