I updated the Glass Mapper version for our Sitecore 8.2 project from version 4.0.1.8 to version 4.3.4.196.
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?