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