6. Common issues
6.1. Caught MultipleObjectsReturned while rendering
After upgrading to a new version with an existing database, you encounter something like:
Caught MultipleObjectsReturned while rendering: get() returned more than one CacheKey – it returned 12! Lookup parameters were {‘key’: ‘cms-menu_nodes_en_1_1_user’, ‘language’: ‘en’, ‘site’: 1L}
What has happened is that your database contains some old cache data in the menus_cachekey table. Just delete all those entries.
当前内容版权归 Django CMS 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 Django CMS .