Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

fail to build site using hugo v0.88.1 - nil pointer evaluating navigation.Page.Params #24

Open
maiatoday opened this issue Sep 12, 2021 · 0 comments

Comments

@maiatoday
Copy link

I followed instructions in the readme and go the theme working on an older version of hugo. however I updated my hugo recently and the site won't build. Below is the error. it is a minimal hugo site with just the theme added. I updated because github actions use this version of hugo

hugo v0.88.1+extended darwin/amd64 BuildDate=unknown
WARN 2021/09/12 22:02:52 Page.URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url
ERROR 2021/09/12 22:02:52 render of "page" failed: execute of template failed: template: _default/single.html:10:3: executing "header" at <partial "header.html" .>: error calling partial: "/Users/maia/workspace/gdg/devfest-za/themes/devfest-theme-hugo/layouts/partials/header.html:27:27": execute of template failed: template: partials/header.html:27:27: executing "partials/header.html" at <.Page.Params>: nil pointer evaluating navigation.Page.Params
ERROR 2021/09/12 22:02:52 render of "page" failed: execute of template failed: template: _default/single.html:10:3: executing "header" at <partial "header.html" .>: error calling partial: "/Users/maia/workspace/gdg/devfest-za/themes/devfest-theme-hugo/layouts/partials/header.html:27:27": execute of template failed: template: partials/header.html:27:27: executing "partials/header.html" at <.Page.Params>: nil pointer evaluating navigation.Page.Params
ERROR 2021/09/12 22:02:52 render of "section" failed: execute of template failed: template: team/list.html:10:3: executing "header" at <partial "header.html" .>: error calling partial: "/Users/maia/workspace/gdg/devfest-za/themes/devfest-theme-hugo/layouts/partials/header.html:27:27": execute of template failed: template: partials/header.html:27:27: executing "partials/header.html" at <.Page.Params>: nil pointer evaluating navigation.Page.Params
ERROR 2021/09/12 22:02:52 render of "taxonomy" failed: execute of template failed: template: taxonomy/list.html:10:3: executing "header" at <partial "header.html" .>: error calling partial: "/Users/maia/workspace/gdg/devfest-za/themes/devfest-theme-hugo/layouts/partials/header.html:27:27": execute of template failed: template: partials/header.html:27:27: executing "partials/header.html" at <.Page.Params>: nil pointer evaluating navigation.Page.Params
Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:10:3: executing "header" at <partial "header.html" .>: error calling partial: "/Users/maia/workspace/gdg/devfest-za/themes/devfest-theme-hugo/layouts/partials/header.html:27:27": execute of template failed: template: partials/header.html:27:27: executing "partials/header.html" at <.Page.Params>: nil pointer evaluating navigation.Page.Params
Built in 30 ms
githubmonkey added a commit to githubmonkey/devfest-theme-hugo that referenced this issue Sep 14, 2021
Bug fix to deal with issue GDGToulouse#24
This was referenced Sep 14, 2021
mnestor pushed a commit to NolaCon/nolacon-theme-hugo that referenced this issue Feb 12, 2022
Bug fix to deal with issue GDGToulouse#24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant