Error in Web Form: Conflict of Wiki App with Web Forms in V14

Hi Frappe Family,

I hope you are doing well,

I had v13 of ERPNext, as well as Wiki, and everything was working normally.

I updated to v14 a while ago, but I encountered a problem after updating, which is that when I open any Web Form, the following message appears:

Traceback (most recent call last):
  File "apps/frappe/frappe/website/", line 18, in get_response
    response = renderer_instance.render()
  File "apps/frappe/frappe/website/page_renderers/", line 78, in render
    html = self.get_html()
  File "apps/frappe/frappe/website/", line 510, in cache_html_decorator
    html = func(*args, **kwargs)
  File "apps/frappe/frappe/website/page_renderers/", line 89, in get_html
  File "apps/frappe/frappe/website/page_renderers/", line 157, in update_context
    data = self.run_pymodule_method("get_context")
  File "apps/frappe/frappe/website/page_renderers/", line 219, in run_pymodule_method
    return method(self.context)
  File "apps/wiki/wiki/www/", line 10, in get_context
    context.doc = frappe.get_doc("Wiki Page", frappe.form_dict.wiki_page)
  File "apps/frappe/frappe/", line 1180, in get_doc
    doc = frappe.model.document.get_doc(*args, **kwargs)
  File "apps/frappe/frappe/model/", line 74, in get_doc
    return controller(*args, **kwargs)
  File "apps/frappe/frappe/website/", line 16, in __init__
    super().__init__(*args, **kwargs)
  File "apps/frappe/frappe/model/", line 106, in __init__
  File "apps/frappe/frappe/model/", line 149, in load_from_db
  File "apps/frappe/frappe/", line 522, in throw
  File "apps/frappe/frappe/", line 490, in msgprint
  File "apps/frappe/frappe/", line 442, in _raise_exception
    raise raise_exception(msg)
frappe.exceptions.DoesNotExistError: Wiki Page job_application not found

When I uninstall Wiki app all Web Forms work again!

Thank you in advance.

1 Like

It has been fixed by updating the Wiki because there are some changes in the files.

Issue: Wiki routes /<wiki-page>/new & /<wiki-page>/edit is conflicting with webform routes <web-form>/new & <web-form>/edit.

Solution: changing the wiki route to /<wiki-page>/new-wiki & /<wiki-page>/edit-wiki

the issue in GitHub

Thanks @ritwik