Welcome Guest, Not a member yet? Register   Sign In
Nesting level too deep - recursive dependency?
#2

Hi all,
If you have the same problem: check if your $allowedFields in your model are correct (corresponding with the DB table field names)!
You can indeed test by commenting them out or add the property $protectFields = false (documented here) to check if one (or more) of the fields in this allowedFields array is incorrect.
When it works after disabling the allowedFields property (uncomment $allowedFields or set $protectFields to false), just check with a getLastQuery() to see what is exactly in your query...
Good luck!

Zeff
Reply


Messages In This Thread
RE: Nesting level too deep - recursive dependency? - by Zeff - 10-17-2024, 12:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB