sajad torkamani

If you ever get this error:

Laravel troubleshooting: Possible fix for cryptic error

Check that you haven’t defined a getDates() function in an Eloquent class. getDates() is used by Illuminate\Database\Eloqueent\Model so if you override it, you might get the above error.

Tagged: Laravel