ITADN

[Bug]: Hugo 0.157.0 Breaking change with RSS.xml

#1839ClosedRAGNOARAKNOS 创建于 2026-02-27
bug
R
RAGNOARAKNOScommented
### What happened? ERROR error building site: render: [en v1.0.0 guest] failed to render pages: render of "/projects" failed: "PATHEHERE\themes\PaperMod\layouts\_default\rss.xml:10:11": execute of template failed: template: rss.xml:10:11: executing "remplate failed: template: rss.xml:10:11: executing "rss.xml" at <site>: can't evaluate field Author in type interface {} After having updated to Hugo 0.157.0, upon executing a Hugo serve action, I get the above error message. Having looked very briefly at the affected code, it appears to represent a feature that was being deprecated, that now may be fully removed, but I'm unsure. Specifically affecting the site RSS author information and the data structure it uses to store it. ### Steps to reproduce 1. Update to the current version of Hugo, which at time of writing is 0.157.0 2. Hugo Serve -D Observe error ### Hugo Version Hugo >= 0.146.0 (Recommended - Minimum version required for PaperMod) ### PaperMod Version 3bb0ca2 ### What kind of devices are you seeing the problem on? Desktop ### What browsers are you seeing the problem on? Chrome ### Browser Version _No response_ ### Relevant log output ```shell Watching for changes in D:/CodeRepos/web/LewisJBowman.github.io/archetypes, D:/CodeRepos/web/LewisJBowman.github.io/assets, D:/CodeRepos/web/LewisJBowman.github.io/content/{about,posts,projects}, D:/CodeRepos/web/LewisJBowman.github.io/data, D:/CodeRepos/web/Lewweb/LewisJBowman.github.io/data, D:/CodeRepos/web/LewisJBowman.github.io/i18n, D:/CodeRepos/web/LewisJBowman.github.io/layouts/shortcodes, D:/CodeRepos/web/LewisJBowman.github.io/static, D:/CodeRepos/web/Lewis/CodeRepos/web/LewisJBowman.github.io/themes/PaperModJBowman.github.io/themes/PaperMod/assets/{css,js}, D:/CodeRepos/web/LewisJBowman.github.io/themes/PaperMod/i18n, D:/CodeRepos/web/LewisJBowman.github.io/themes/PaperMod/layouts/{_default,partials,shortcodes} Watching for config changes in D:\CodeRepos\web\LewisJBowman.github.io\hugo.toml Start building sites … hugo v0.157.0-7747abbb316b03c8f353fd3be62d5011fa883ee6+extended windows/amd64 BuildDate=2026-02-25T16:38:33Z VendorInfo=gohugoio Built in 17 ms ERROR error building site: render: [en v1.0.0 guest] failed to render pages: render of "/projects" failed: "D:\CodeRepos\web\LewisJBowman.github.io\themes\PaperMod\layouts\_default\rss.xml:10:11": execute of template failed: template: rss.xml:10:11: executing "remplate failed: template: rss.xml:10:11: executing "rss.xml" at <site>: can't evaluate field Author in type interface {} ``` ### Repository/Source Code link where this issue can be reproduced _No response_ ### Code of Conduct - [x] I agree to follow this project's Code of Conduct
关闭于 2026-03-08 4 条评论