Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method invoke in templates panics if the receiver is nil #5327

Closed
bep opened this issue Oct 16, 2018 · 6 comments
Closed

Method invoke in templates panics if the receiver is nil #5327

bep opened this issue Oct 16, 2018 · 6 comments

Comments

@bep
Copy link
Member

bep commented Oct 16, 2018

golang/go#28242

@bep bep added this to the v0.51 milestone Oct 16, 2018
@bep bep added the Keep label Oct 17, 2018
bep added a commit that referenced this issue Oct 17, 2018
@kaushalmodi
Copy link
Contributor

kaushalmodi commented Oct 17, 2018

Yes, fix for this would be very welcome: #4710.

@bep
Copy link
Member Author

bep commented Oct 24, 2018

This is now merged and fixed upstream.

@Zola
Copy link

Zola commented Feb 4, 2019

I got below message when I import thousands markdown file that converted from Google reader article(blog article in atom format) , but when I remove tags from import file, it not show again, I think too many tags and Hugo don't have enough memory, is it bug?

ERROR 2019/02/05 04:39:30 Failed to render pages: render of "page" failed: "/Users/zola/Sites/hugo/themes/academic/layouts/_default/single.html:14:7": execute of template failed: template: _default/single.html:14:7: executing "_default/single.html" at <partial "tags.html" ...>: error calling partial: "/Users/zola/Sites/hugo/themes/academic/layouts/partials/tags.html:1:1": execute of template failed: panic in Execute: runtime error: invalid memory address or nil pointer dereference. See "#5327" for the reason why we cannot provide a better error message for this.

@anagio
Copy link
Contributor

anagio commented Mar 7, 2019

Is there an earlier version of hugo which isn't affected by this bug if so which?

@hanzei
Copy link

hanzei commented Mar 17, 2019

@bep can this be closed?

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants