I keep running into:
Serialization of 'Closure' is not allowed
when dispatching a Job in Laravel. I have narrowed down the culprit to PHP's time()
function.
There is a function in my Job's that is causing this. I have debugged it down to these specifics:
Causes error
$this->myProp = time() + $someDelay;
No error:
$this->myProp = 123 + $someDelay;
Any help would be awesome :)
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire