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