Closed paul-crashley closed 8 years ago
I'm getting the 'Fatal error: Allowed memory...' error when trying to use find() on a model.
Latest version of Ardent in Lumen.
The find() method in LaravelArdent\Ardent\Ardent recursively calls itself due to the __callStatic magic method in Eloquent.
The ardent find() method needs removing, or renaming to something else e.g. findOne()
I'm getting the 'Fatal error: Allowed memory...' error when trying to use find() on a model.
Latest version of Ardent in Lumen.
The find() method in LaravelArdent\Ardent\Ardent recursively calls itself due to the __callStatic magic method in Eloquent.
The ardent find() method needs removing, or renaming to something else e.g. findOne()