Laravel队列在mysql中工作正常,但在mongodb中不工作

时间:2019-05-02 13:54:52

标签: mongodb laravel-5

[2019-05-02 13:49:16]本地。错误:未定义的属性:Moloquent \ Queue \ MongoQueue :: $ expire {“ exception”:“ [对象](ErrorException(code:0):未定义的属性:Moloquent \ Queue \ MongoQueue :: $$ expire在D:\ xampp \ htdocs \ family_tree \ vendor \ moloquent \ moloquent \ src \ Queue \ MongoQueue.php:23) [stacktrace]

0 D:\ xampp \ htdocs \ family_tree \ vendor \ moloquent \ moloquent \ src \ Queue \ MongoQueue.php(23):Illuminate \ Foundation \ Bootstrap \ HandleExceptions-> handleError(8,'未定义属性...' ,'D:\\ xampp \\ htdocs ...',23,Array)

1 D:\ xampp \ htdocs \ family_tree \ vendor \ laravel \ framework \ src \ Illuminate \ Queue \ Worker.php(246):Moloquent \ Queue \ MongoQueue-> pop('default')

2 D:\ xampp \ htdocs \ family_tree \ vendor \ laravel \ framework \ src \ Illuminate \ Queue \ Worker.php(107):Illuminate \ Queue \ Worker-> getNextJob(Object(Moloquent \ Queue \ MongoQueue), '默认')

3 D:\ xampp \ htdocs \ family_tree \ vendor \ laravel \ framework \ src \ Illuminate \ Queue \ Console \ WorkCommand.php(101):Illuminate \ Queue \ Worker-> daemon('database','default' ,对象(Illuminate \ Queue \ WorkerOptions))

4 D:\ xampp \ htdocs \ family_tree \ vendor \ laravel \ framework \ src \ Illuminate \ Queue \ Console \ WorkCommand.php(85):Illuminate \ Queue \ Console \ WorkCommand-> runWorker('database','默认值”)

5 [内部功能]:Illuminate \ Queue \ Console \ WorkCommand-> handle()

6 D:\ xampp \ htdocs \ family_tree \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ BoundMethod.php(29):call_user_func_array(Array,Array)

7 D:\ xampp \ htdocs \ family_tree \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ BoundMethod.php(87):Illuminate \ Container \ BoundMethod :: Illuminate \ Container \ {closure}()

8 D:\ xampp \ htdocs \ family_tree \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ BoundMethod.php(31):Illuminate \ Container \ BoundMethod :: callBoundMethod(Object(Illuminate \ Foundation \ Application),数组,对象(关闭))

9 D:\ xampp \ htdocs \ family_tree \ vendor \ laravel \ framework \ src \ Illuminate \ Container \ Container.php(564):Illuminate \ Container \ BoundMethod :: call(Object(Illuminate \ Foundation \ Application), Array,Array,NULL)

10 D:\ xampp \ htdocs \ family_tree \ vendor \ laravel \ framework \ src \ Illuminate \ Console \ Command.php(179):Illuminate \ Container \ Container-> call(Array)

11 D:\ xampp \ htdocs \ family_tree \ vendor \ symfony \ console \ Command \ Command.php(255):Illuminate \ Console \ Command-> execute(Object(Symfony \ Component \ Console \ Input \ ArgvInput),对象(Illuminate \ Console \ OutputStyle))

12 D:\ xampp \ htdocs \ family_tree \ vendor \ laravel \ framework \ src \ Illuminate \ Console \ Command.php(166):Symfony \ Component \ Console \ Command \ Command-> run(Object(Symfony \ Component \ Console \ Input \ ArgvInput),对象(Illuminate \ Console \ OutputStyle))

13

0 个答案:

没有答案
相关问题