I've been trying to run a cron task in my server using Laravel. The problem is that I'm getting this error every time.
Fatal error: Class 'Illuminate\Console\Command' not found
I've been trying running the composer install
and composer dump-autoload,
but nothing changes. I keep getting this error.
I have checked my vendor folder in Illuminate/Console/Command.php
and everything is in the right place.
How can I solve it or what could be causing it?