This is the Error Code: 417 i am getting all of a sudden

Traceback (most recent call last):
File “apps/frappe/frappe/utils/jinja.py”, line 97, in render_template
return get_jenv().from_string(template).render(context)
File “env/lib/python3.10/site-packages/jinja2/environment.py”, line 1304, in render
self.environment.handle_exception()
File “env/lib/python3.10/site-packages/jinja2/environment.py”, line 939, in handle_exception
raise rewrite_traceback_stack(source=source)
File “”, line 11, in top-level template code
File “env/lib/python3.10/site-packages/jinja2/sandbox.py”, line 394, in call
return __context.call(__obj, *args, **kwargs)
File “apps/lms/lms/widgets.py”, line 71, in call
return env.get_or_select_template(paths).render(kwargs)
File “env/lib/python3.10/site-packages/jinja2/environment.py”, line 1304, in render
self.environment.handle_exception()
File “env/lib/python3.10/site-packages/jinja2/environment.py”, line 939, in handle_exception
raise rewrite_traceback_stack(source=source)
File “apps/lms/lms/lms/widgets/CourseCard.html”, line 17, in top-level template code
{% for tag in get_tags(course.name) %}
File “env/lib/python3.10/site-packages/jinja2/sandbox.py”, line 392, in call
if not __self.is_safe_callable(__obj):
File “env/lib/python3.10/site-packages/jinja2/sandbox.py”, line 276, in is_safe_callable
getattr(obj, “unsafe_callable”, False) or getattr(obj, “alters_data”, False)
jinja2.exceptions.UndefinedError: ‘get_tags’ is undefined

During handling of the above exception, another exception occurred:

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/document_page.py”, line 41, 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/document_page.py”, line 50, in get_html
self.update_context()
File “apps/frappe/frappe/website/page_renderers/document_page.py”, line 65, in update_context
ret = self.doc.get_context(self.context)
File “apps/frappe/frappe/website/doctype/web_page/web_page.py”, line 113, in get_context
self.set_page_blocks(context)
File “apps/frappe/frappe/website/doctype/web_page/web_page.py”, line 174, in set_page_blocks
out = get_web_blocks_html(self.page_blocks)
File “apps/frappe/frappe/website/doctype/web_page/web_page.py”, line 250, in get_web_blocks_html
“web_template_html”: web_template.render(block.web_template_values),
File “apps/lms/lms/overrides/web_template.py”, line 17, in render
return frappe.render_template(template, values)
File “apps/frappe/frappe/utils/jinja.py”, line 99, in render_template
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.ValidationError:


{{ _(title) }}


{% if subtitle %}

{{ _(subtitle) }}


{% endif %}

{% for course_row in courses %}
{% set course = frappe.db.get_value(“LMS Course”, course_row.course,
[“name”, “short_introduction”, “upcoming”, “title”, “image”, “currency”,
“enable_certification”, “paid_course”, “course_price”], as_dict=True) %}
{{ widgets.CourseCard(course=course, read_only=False) }}
{% endfor %}


{{ _(“Explore More”) }}

Traceback (most recent call last):
  File "apps/frappe/frappe/utils/jinja.py", line 97, in render_template
    return get_jenv().from_string(template).render(context)
  File "env/lib/python3.10/site-packages/jinja2/environment.py", line 1304, in render
    self.environment.handle_exception()
  File "env/lib/python3.10/site-packages/jinja2/environment.py", line 939, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "", line 11, in top-level template code
  File "env/lib/python3.10/site-packages/jinja2/sandbox.py", line 394, in call
    return __context.call(__obj, *args, **kwargs)
  File "apps/lms/lms/widgets.py", line 71, in __call__
    return env.get_or_select_template(paths).render(kwargs)
  File "env/lib/python3.10/site-packages/jinja2/environment.py", line 1304, in render
    self.environment.handle_exception()
  File "env/lib/python3.10/site-packages/jinja2/environment.py", line 939, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "apps/lms/lms/lms/widgets/CourseCard.html", line 17, in top-level template code
    {% for tag in get_tags(course.name) %}
  File "env/lib/python3.10/site-packages/jinja2/sandbox.py", line 392, in call
    if not __self.is_safe_callable(__obj):
  File "env/lib/python3.10/site-packages/jinja2/sandbox.py", line 276, in is_safe_callable
    getattr(obj, "unsafe_callable", False) or getattr(obj, "alters_data", False)
jinja2.exceptions.UndefinedError: 'get_tags' is undefined