du12197
2015-10-26 15:02 阅读 80
已采纳

Laravel 5.1中的队列错误

I recently Created a job class by the command php artisan make:job --queued and I dispatched it from the controller and it worked fine , and I deleted it again because I don't need it anymore , and I already did an Event class for sending Emails and it's also queued (and worked fine before creating Job Class) the problem now when I trigger php artisan queue:listen I got this Error

[InvalidArgumentException]
No handler registered for command [__PHP_Incomplete_Class]

and everything was working fine before I created the job class So What's the problem ?Help me please Note: I use the database queue Driver

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • 已采纳
    doufangyan6862 doufangyan6862 2015-10-26 16:54

    Yes I found it Thank You Sir really it was a pending job So What i did is to download a package that clears the queues from Github https://github.com/morrislaptop/laravel-queue-clear I hope it helps someone has the same problem

    点赞 评论 复制链接分享

相关推荐