Error in accessing the course:CM2018['NoneType' object has no attribute 'lang_code']