Error--- frappe.exceptions.DoesNotExistError: DocType Custom Category not found

Traceback (most recent call last):
  File "apps/frappe/frappe/website/serve.py", line 20, 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 523, 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 223, in run_pymodule_method
    return method(self.context)
  File "apps/webshop/webshop/www/shop-by-category/index.py", line 15, in get_context
    context.tabs = get_tabs(categories)
  File "apps/webshop/webshop/www/shop-by-category/index.py", line 43, in get_tabs
    categorical_data = get_category_records(categories)
  File "apps/webshop/webshop/www/shop-by-category/index.py", line 67, in get_category_records
    meta = frappe.get_meta(doctype, cached=True)
  File "apps/frappe/frappe/__init__.py", line 1360, in get_meta
    return frappe.model.meta.get_meta(doctype, cached=cached)
  File "apps/frappe/frappe/model/meta.py", line 63, in get_meta
    meta = Meta(doctype)
  File "apps/frappe/frappe/model/meta.py", line 117, in __init__
    super().__init__("DocType", doctype)
  File "apps/frappe/frappe/model/document.py", line 126, in __init__
    self.load_from_db()
  File "apps/frappe/frappe/model/meta.py", line 123, in load_from_db
    super().load_from_db()
  File "apps/frappe/frappe/model/document.py", line 172, in load_from_db
    frappe.throw(
  File "apps/frappe/frappe/__init__.py", line 645, in throw
    msgprint(
  File "apps/frappe/frappe/__init__.py", line 610, in msgprint
    _raise_exception()
  File "apps/frappe/frappe/__init__.py", line 561, in _raise_exception
    raise exc
frappe.exceptions.DoesNotExistError: DocType Custom Category not found

I have created one doctype and link in the website-item.
Reference post :point_down:

why im getting this error
please help me.

Is Custom Category link field? if a link field then you can add it to the webshop.

I have done that, I have recorded it in the entire video, please check.

Why this error coming??

Does anyone know about this who can help me?

Hi @falah123,

Everything is working fine. No problems were encountered in the latest version 15.