0
votes

I am using laravel 5.1 in my production server. After update my composer, queue listener command starts throwing error as

PHP Fatal error: Cannot redeclare class Illuminate\Support\Traits\Macroable in /var/www/<site-folder>/bootstrap/cache/compiled.php on line 6109

I couldn't find out the problem. My site is working fine, and other artisan commands are working fine. But I can't run my queue. Please suggest me some sollution

1

1 Answers

0
votes

You should run Run

php artisan clear-compiled
php artisan optimize

and make you sure you restart your queue.