RuntimeException in ClassCollectionLoader.php line 239:
Failed to write cache file \"/var/www/fareast/app/cache/dev/classes.php\".
I have this error
In symfony3 i've faced the same issue...
So, problem would not solve only using "cache clear"
You have to change (R/W)permission of cache folder in your project
For ex: "projectname/var/cache"
Now refresh...
If still issue is coming, change(R/W)permission of logs folder in your project
For ex: "projectname/var/logs"