I'm using lms and mon_school apps i rename the doctype it's working on it but i try open related web
Traceback (most recent call last):
File “apps/frappe/frappe/website/serve.py”, line 18, in get_response
response = renderer_instance.render()
File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 84, in render
html = self.get_html()
File “apps/frappe/frappe/website/utils.py”, line 517, in cache_html_decorator
html = func(*args, **kwargs)
File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 95, in get_html
self.update_context()
File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 163, in update_context
data = self.run_pymodule_method(“get_context”)
File “apps/frappe/frappe/website/page_renderers/template_page.py”, line 225, in run_pymodule_method
return method(self.context)
File “apps/lms/lms/www/courses/index.py”, line 21, in get_context
context.created_courses = get_authored_courses(None, False)
File “apps/lms/lms/overrides/user.py”, line 170, in get_authored_courses
print(detail.name)
AttributeError: ‘NoneType’ object has no attribute ‘name’
Hy @chandran18
I hope using this command will help you
bench --site [site-name] set-config maintenance_mode 0
Thank You!