Render Error (Execute of Template Failed) On New Site and Theme Install

Hi, I’m getting the following error on a new site that I am building with the Roxo Hugo theme. Not sure what the issue is.

ERROR render of "page" failed: "/home/mackenzie/Hugo/blueberry/themes/roxo-hugo/layouts/_default/baseof.html:5:12": execute of template failed: template: blog/single.html:5:12: executing "blog/single.html" at <partial "header.html" .>: error calling partial: "/home/mackenzie/Hugo/blueberry/themes/roxo-hugo/layouts/partials/header.html:20:19": execute of template failed: template: partials/header.html:20:19: executing "partials/header.html" at <len $menu>: error calling len: reflect: call of reflect.Value.Type on zero Value
ERROR render of "page" failed: "/home/mackenzie/Hugo/blueberry/themes/roxo-hugo/layouts/_default/baseof.html:5:12": execute of template failed: template: portfolio/single.html:5:12: executing "portfolio/single.html" at <partial "header.html" .>: error calling partial: "/home/mackenzie/Hugo/blueberry/themes/roxo-hugo/layouts/partials/header.html:20:19": execute of template failed: template: partials/header.html:20:19: executing "partials/header.html" at <len $menu>: error calling len: reflect: call of reflect.Value.Type on zero Value
ERROR render of "section" failed: "/home/mackenzie/Hugo/blueberry/themes/roxo-hugo/layouts/_default/baseof.html:5:12": execute of template failed: template: about/list.html:5:12: executing "about/list.html" at <partial "header.html" .>: error calling partial: "/home/mackenzie/Hugo/blueberry/themes/roxo-hugo/layouts/partials/header.html:20:19": execute of template failed: template: partials/header.html:20:19: executing "partials/header.html" at <len $menu>: error calling len: reflect: call of reflect.Value.Type on zero Value
Built in 44 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/home/mackenzie/Hugo/blueberry/themes/roxo-hugo/layouts/_default/baseof.html:5:12": execute of template failed: template: blog/single.html:5:12: executing "blog/single.html" at <partial "header.html" .>: error calling partial: "/home/mackenzie/Hugo/blueberry/themes/roxo-hugo/layouts/partials/header.html:20:19": execute of template failed: template: partials/header.html:20:19: executing "partials/header.html" at <len $menu>: error calling len: reflect: call of reflect.Value.Type on zero Value
mackenzie@localhost:~/Hugo/blueberry> 

You are more likely to receive a prompt and accurate response if you post a link to the public repository for your project.

See Requesting Help.

Let us see your code

Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.

If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.

2 posts were split to a new topic: Reflection error with with roxo theme