Failed to render pages: render of "home" failed

I recently rebuilt my site GitHub - learning-cloud-native-go/site: 👨‍🏫 Cloud Native Go Tutorials for Everyone! using Hugo. I am using my own theme GitHub - docura/docura: 📖 A modular Hugo theme to build your next documentation site . Had no issue, till this morning as Github action failed with the following error,

hugo v0.120.1-16fb2cae88eb6add7d12e9fbfcf01d8670e60a35+extended linux/amd64 BuildDate=2023-10-30T16:44:31Z VendorInfo=gohugoio

WARN  found no layout file for "html" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN  found no layout file for "html" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
ERROR render of "taxonomy" failed: template: _internal/_default/rss.xml:3:9: executing "_internal/_default/rss.xml" at <site>: can't evaluate field email in type string
ERROR render of "section" failed: template: _internal/_default/rss.xml:3:9: executing "_internal/_default/rss.xml" at <site>: can't evaluate field email in type string
Total in 253 ms
Error: error building site: render: failed to render pages: render of "home" failed: template: _internal/_default/rss.xml:3:9: executing "_internal/_default/rss.xml" at <site>: can't evaluate field email in type string

I can reproduce it even in local with the latest release but I don’t know what’s the issue in this case.

Thanks

Have a look at the release notes: there were some breaking changes in functions which return string now and returned something else before.

@chrillek looks like issue is Render of "section" failed -- cannot find the template that has the error I’m waiting to understand the issue as any other keyword other than “author” need to be considered in future.

Found the details in Release v0.120.0 · gohugoio/hugo · GitHub

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.