I have gone back to a project i was working on 2/3 months ago and when i run php artisan clear-compiled of php artisan optimize i get the following error
call to undefined method Illuminate\view\compilers\bladecompiler::directive
No one else was working on the project and thats all the information it gives me also the project was working earlier and all i did was composer update and this issue arised. I seen people saying about a compile.php file but i can't see one in any of my folders not sure whats going on and really bugging me now
I was using dev-master version of the kodeine acl package which now only supports laravel 5.1 due to some blade functions being deprecated. changed kodeine to use v1 and now all working again.