Oct 6, 2016
0
Level 4
API cache error
Hey guys trying out a api call command for the first time. Following a Tutorial which is here : https://www.sitepoint.com/were-building-a-marvel-catalog-reader-avengers-assemble/
Anyway i followed the guide, when i run
php artisan cache:api
I get the following error :
Grahams-iMac:g-web grahammorby-raybould$ php artisan cache:api
PHP Fatal error: Class 'App\Console\Commands\Client' not found in /Applications/MAMP/htdocs/g-web/app/Console/Commands/CacheApi.php on line 43
PHP Stack trace:
PHP 1. {main}() /Applications/MAMP/htdocs/g-web/artisan:0
PHP 2. Illuminate\Foundation\Console\Kernel->handle() /Applications/MAMP/htdocs/g-web/artisan:36
PHP 3. Symfony\Component\Console\Application->run() /Applications/MAMP/htdocs/g-web/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:107
PHP 4. Symfony\Component\Console\Application->doRun() /Applications/MAMP/htdocs/g-web/vendor/symfony/console/Application.php:117
PHP 5. Symfony\Component\Console\Application->doRunCommand() /Applications/MAMP/htdocs/g-web/vendor/symfony/console/Application.php:186
PHP 6. Illuminate\Console\Command->run() /Applications/MAMP/htdocs/g-web/vendor/symfony/console/Application.php:794
PHP 7. Symfony\Component\Console\Command\Command->run() /Applications/MAMP/htdocs/g-web/vendor/laravel/framework/src/Illuminate/Console/Command.php:155
PHP 8. Illuminate\Console\Command->execute() /Applications/MAMP/htdocs/g-web/vendor/symfony/console/Command/Command.php:256
PHP 9. Illuminate\Container\Container->call() /Applications/MAMP/htdocs/g-web/vendor/laravel/framework/src/Illuminate/Console/Command.php:169
PHP 10. call_user_func_array:{/Applications/MAMP/htdocs/g-web/vendor/laravel/framework/src/Illuminate/Container/Container.php:507}() /Applications/MAMP/htdocs/g-web/vendor/laravel/framework/src/Illuminate/Container/Container.php:507
PHP 11. App\Console\Commands\CacheApi->handle() /Applications/MAMP/htdocs/g-web/vendor/laravel/framework/src/Illuminate/Container/Container.php:507
Any ideas? Totally new to this
Please or to participate in this conversation.