When I submit the details of the join chapter page I got his error.!
1 Like
Hi Bhavik,
Can you specify you were trying this for which chapter?
Hi Bhavikpatel,
Please can you share url of page.
Hello @vishdha,
I clicked on Join this chapter button.
-
https://erpnext.org/non_profit/join-chapter?name=gujarat
I clicked on submit button.
Its working at my side. are you still facing this issue.
yes
Traceback (most recent call last):
File "/home/frappe/benches/bench-2017-01-23/apps/frappe/frappe/website/render.py", line 39, in render
data = render_page_by_language(path)
File "/home/frappe/benches/bench-2017-01-23/apps/frappe/frappe/website/render.py", line 133, in render_page_by_language
return render_page(path)
File "/home/frappe/benches/bench-2017-01-23/apps/frappe/frappe/website/render.py", line 149, in render_page
return build(path)
File "/home/frappe/benches/bench-2017-01-23/apps/frappe/frappe/website/render.py", line 156, in build
return build_page(path)
File "/home/frappe/benches/bench-2017-01-23/apps/frappe/frappe/website/render.py", line 175, in build_page
html = frappe.render_template(context.source, context)
File "/home/frappe/benches/bench-2017-01-23/apps/frappe/frappe/utils/jinja.py", line 69, in render_template
return get_jenv().from_string(template).render(context)
File "/home/frappe/benches/bench-2017-01-23/env/lib/python2.7/site-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/home/frappe/benches/bench-2017-01-23/env/lib/python2.7/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "<template>", line 1, in top-level template code
File "/home/frappe/benches/bench-2017-01-23/apps/frappe/frappe/./templates/web.html", line 1, in top-level template code
{% extends base_template_path %}
File "/home/frappe/benches/bench-2017-01-23/apps/frappe_theme/frappe_theme/./templates/base.html", line 1, in top-level template code
{% extends "frappe/templates/base.html" %}
File "/home/frappe/benches/bench-2017-01-23/apps/frappe/frappe/./templates/base.html", line 69, in top-level template code
{% block content %}{% endblock %}
File "/home/frappe/benches/bench-2017-01-23/apps/frappe/frappe/./templates/web.html", line 47, in block "content"
{%- block page_content -%}{%- endblock -%}
File "<template>", line 19, in block "page_content"
File "/home/frappe/benches/bench-2017-01-23/env/lib/python2.7/site-packages/jinja2/environment.py", line 430, in getattr
return getattr(obj, attribute)
UndefinedError: 'chapter' is undefined