I updated the Glass Mapper version for our Sitecore 8.2 project from version 22.214.171.124 to version 126.96.36.199.
After upgrading Sitecore is still running, but our websites are throwing exceptions:
Model too deep. Potential lazy loading loop
I added the
Cacheable property to the Models and I also had the
Setting = SitecoreFieldSettings.DontLoadLazily on the Fields from before the upgrade. But no result, it keeps throwing this error.
My model structure has not changed, anyone any idea what is going on? Or maybe that
ModelDepthCheck can be disabled?