Laravel troubleshooting: Possible fix for cryptic error
10 May 2024 (Updated 1 September 2024)
If you ever get this 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