Blog Post - Error while viewing blog page

Hi,

Created first blog post on frappecloud instance running v14 and published the same.

After clicking the view on website button, we get the following error.

Uncaught Server Exception

Traceback (most recent call last):
File “apps/frappe/frappe/website/serve.py”, line 18, in get_response
response = renderer_instance.render()
File “apps/frappe/frappe/website/page_renderers/document_page.py”, line 52, in render
html = self.get_html()
File “apps/frappe/frappe/website/utils.py”, line 510, in cache_html_decorator
html = func(*args, **kwargs)
File “apps/frappe/frappe/website/page_renderers/document_page.py”, line 63, in get_html
html = frappe.get_template(self.template_path).render(self.context)
File “env/lib/python3.10/site-packages/jinja2/environment.py”, line 1301, in render
self.environment.handle_exception()
File “env/lib/python3.10/site-packages/jinja2/environment.py”, line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File “apps/frappe/frappe/website/doctype/blog_post/templates/blog_post.html”, line 1, in top-level template code
{% extends “templates/web.html” %}
File “apps/frappe/frappe/templates/web.html”, line 1, in top-level template code
{% extends base_template_path %}
File “apps/frappe/frappe/templates/base.html”, line 70, in top-level template code
{% block content %}
File “apps/frappe/frappe/templates/web.html”, line 72, in block ‘content’
{{ main_content() }}
File “env/lib/python3.10/site-packages/jinja2/sandbox.py”, line 393, in call
return __context.call(__obj, *args, **kwargs)
File “env/lib/python3.10/site-packages/jinja2/runtime.py”, line 777, in _invoke
rv = self._func(*arguments)
File “apps/frappe/frappe/templates/web.html”, line 15, in template
{% block page_container %}
File “apps/frappe/frappe/templates/web.html”, line 30, in block ‘page_container’
{%- block page_content -%}{%- endblock -%}
File “apps/frappe/frappe/website/doctype/blog_post/templates/blog_post.html”, line 65, in block ‘page_content’
{% include “templates/includes/blog/blogger.html” %}
File “apps/frappe/frappe/templates/includes/blog/blogger.html”, line 4, in top-level template code
{{ avatar(full_name=blogger_info.full_name, image=blogger_info.avatar, size=‘avatar-large’) }}
File “env/lib/python3.10/site-packages/jinja2/sandbox.py”, line 393, in call
return __context.call(__obj, *args, **kwargs)
File “env/lib/python3.10/site-packages/jinja2/runtime.py”, line 777, in _invoke
rv = self._func(*arguments)
File “apps/frappe/frappe/templates/includes/avatar_macro.html”, line 2, in template
{% set user_info = frappe.utils.get_user_info_for_avatar(user_id) %}
File “env/lib/python3.10/site-packages/jinja2/sandbox.py”, line 393, in call
return __context.call(__obj, *args, **kwargs)
File “apps/frappe/frappe/utils/data.py”, line 2069, in get_user_info_for_avatar
return {“email”: user.email, “image”: user.user_image, “name”: user.full_name}
AttributeError: ‘User’ object has no attribute ‘email’

Anyone facing this ?
Solution please.

This issue got resolved in 2026 when an engineer from frappe team identified and resolved the issue.

We had taken the product warranty package to get the issue resolved. But frappe team initially commented it to be some customisation issue and passed the ball back to us.

With AI advancement, we tried with AI what could be causing the issue. AI pointed back to some frappe code which is causing the issue.

In 2026, one of the frappe engineers found and resolved the issue.