Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

memory exhausted (again) #283

Closed
paul-crashley opened this issue Nov 20, 2015 · 0 comments
Closed

memory exhausted (again) #283

paul-crashley opened this issue Nov 20, 2015 · 0 comments

Comments

@paul-crashley
Copy link

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()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant