du12197 2015-10-26 15:02
浏览 111
已采纳

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 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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 树莓派与pix飞控通信
  • ¥15 自动转发微信群信息到另外一个微信群
  • ¥15 outlook无法配置成功
  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题