'Why is my laravel batch failing randomly with ModelNotFoundException?
I have a batch that is scheduled to run every day at 00:05. On some days, a job in the batch fails immediately with the ModelNotFoundException. However, the model that was not found does exist.
There were no change to any of the concerned models in the database. (Field, Category, Condition)
The dba said there are no error in the logs and no scheduled maintenance at that time. What can possibly cause this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|




