Learning Hub - Server Error

Traceback (most recent call last):
  File "/home/erpnext/ERPNext/frappe-bench/apps/frappe/frappe/website/serve.py", line 16, in get_response
    endpoint, renderer_instance = path_resolver.resolve()
  File "/home/erpnext/ERPNext/frappe-bench/apps/frappe/frappe/website/path_resolver.py", line 31, in resolve
    return self.path, NotFoundPage(self.path)
TypeError: __init__() missing 1 required positional argument: 'http_status_code'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/erpnext/ERPNext/frappe-bench/env/lib/python3.8/site-packages/werkzeug/local.py", line 72, in __getattr__
    return self.__storage__[self.__ident_func__()][name]
KeyError: 'path'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/erpnext/ERPNext/frappe-bench/apps/frappe/frappe/app.py", line 75, in application
    response = get_response()
  File "/home/erpnext/ERPNext/frappe-bench/apps/frappe/frappe/website/serve.py", line 23, in get_response
    response = ErrorPage(exception=e).render()
  File "/home/erpnext/ERPNext/frappe-bench/apps/frappe/frappe/website/page_renderers/template_page.py", line 61, in render
    html = self.get_html()
  File "/home/erpnext/ERPNext/frappe-bench/apps/frappe/frappe/website/utils.py", line 443, in cache_html_decorator
    html = func(*args, **kwargs)
  File "/home/erpnext/ERPNext/frappe-bench/apps/frappe/frappe/website/page_renderers/template_page.py", line 76, in get_html
    self.post_process_context()
  File "/home/erpnext/ERPNext/frappe-bench/apps/frappe/frappe/website/page_renderers/template_page.py", line 86, in post_process_context
    super(TemplatePage, self).post_process_context()
  File "/home/erpnext/ERPNext/frappe-bench/apps/frappe/frappe/website/page_renderers/base_template_page.py", line 35, in post_process_context
    self.set_missing_values()
  File "/home/erpnext/ERPNext/frappe-bench/apps/frappe/frappe/website/page_renderers/template_page.py", line 270, in set_missing_values
    super().set_missing_values()
  File "/home/erpnext/ERPNext/frappe-bench/apps/frappe/frappe/website/page_renderers/base_template_page.py", line 63, in set_missing_values
    self.context.pathname = frappe.local.path if hasattr(frappe, 'local') else self.path
  File "/home/erpnext/ERPNext/frappe-bench/env/lib/python3.8/site-packages/werkzeug/local.py", line 74, in __getattr__
    raise AttributeError(name)
AttributeError: path

Status: 500