There is an error which I am struggling with , after creating a new web page and i try to preview it this error has been shown error(There was an error building this page)

Traceback (most recent call last):
File “apps/frappe/frappe/website/”, line 60, in render
data = render_page_by_language(path)
File “apps/frappe/frappe/website/”, line 210, in render_page_by_language
return render_page(path)
File “apps/frappe/frappe/website/”, line 227, in render_page
return build(path)
File “apps/frappe/frappe/website/”, line 235, in build
return build_page(path)
File “apps/frappe/frappe/website/”, line 251, in build_page
context = get_context(path)
File “apps/frappe/frappe/website/”, line 19, in get_context
context = get_page_context(path)
File “apps/frappe/frappe/website/”, line 43, in get_page_context
page_context = make_page_context(path)
File “apps/frappe/frappe/website/”, line 52, in make_page_context
context = resolve_route(path)
File “apps/frappe/frappe/website/”, line 28, in resolve_route
return get_page_context_from_doctype(path)
File “apps/frappe/frappe/website/”, line 91, in get_page_context_from_doctype
page_info = get_page_info_from_doctypes(path)
File “apps/frappe/frappe/website/”, line 129, in get_page_info_from_doctypes
( if not meta.custom else None)
AttributeError: type object ‘Item’ has no attribute ‘website’

Getting almost same error.

Unable to do anything from browser.

What can I do from back-end (Linux terminal)? Can I delete this trouble creating docType?

Error “On Frappe 14” is:

Traceback (most recent call last):
  File "apps/frappe/frappe/website/", line 17, in get_response
    endpoint, renderer_instance = path_resolver.resolve()
  File "apps/frappe/frappe/website/", line 59, in resolve
    if renderer_instance.can_render():
  File "apps/frappe/frappe/website/page_renderers/", line 16, in can_render
    if self.search_in_doctypes_with_web_view():
  File "apps/frappe/frappe/website/page_renderers/", line 28, in search_in_doctypes_with_web_view
    condition_field = self.get_condition_field(meta)
  File "apps/frappe/frappe/website/page_renderers/", line 92, in get_condition_field
    condition_field =
AttributeError: type object 'PersonalDetails' has no attribute 'website'

Working on an experimental server, so can afford to experiments. Did:

From app/module/doctype:

mv personal_details ~/

From mariadb console:

drop table `tabPersonal Details` ;
delete from tabDocType where name like 'Personal Details';

Now getting error:

ImportError: Module import failed for Personal Details, the DocType you're trying to open might be deleted.<br> Error: No module named 'frappe.core.doctype.personal_details'

Frappe still recognises deleted “personal_details”.

How to update this information?

It may be wrong or risky way.

Any better approach may also be suggested.