You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A ModelNotFoundException can be caused by the UpdateClientProcess listener, for example:
Illuminate\Database\Eloquent\ModelNotFoundException: No query results for model [App\Post].
/vagrant/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:414
/vagrant/vendor/laravel/framework/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php:85
/vagrant/vendor/laravel/framework/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php:55
/vagrant/vendor/laravel/framework/src/Illuminate/Queue/SerializesModels.php:45
/vagrant/vendor/cloudcreativity/laravel-json-api/src/Queue/UpdateClientProcess.php:58
/vagrant/vendor/cloudcreativity/laravel-json-api/src/Queue/UpdateClientProcess.php:36
Encountered this in a scenario where the model that was a job property is deleted as part of that job. So when the listener is deserializing the job payload, the model can no longer be reconstituted and the exception is triggered.
The text was updated successfully, but these errors were encountered:
A
ModelNotFoundException
can be caused by theUpdateClientProcess
listener, for example:Encountered this in a scenario where the model that was a job property is deleted as part of that job. So when the listener is deserializing the job payload, the model can no longer be reconstituted and the exception is triggered.
The text was updated successfully, but these errors were encountered: