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