错误记录:
在本机跑项目时遇到多个项目都用到redis任务时报了下面的错误,经过一番查找现将查到的资料做下记录。
ReflectionException: Method __PHP_Incomplete_Class::handle() does not exist in /home/forge/mysite.com/releases/20160415212843/bootstrap/cache/compiled.php:1263
[2016-04-19 15:13:02] production.ERROR: ReflectionException: Method __PHP_Incomplete_Class::handle() does not exist in /home/forge/mysite.com/releases/20160415212843/bootstrap/cache/compiled.php:1263
Stack trace:
操作步骤:
1.打开config/queue.php
2.将redis下的queue值换成其他的就可,例如‘queue’ => 'default_ts'
3.完成