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

Fix error calling Paginate #289

Merged
merged 2 commits into from
Nov 8, 2022
Merged

Fix error calling Paginate #289

merged 2 commits into from
Nov 8, 2022

Conversation

michaeldorner
Copy link
Contributor

Fixes issues of hugo v0.102 throwing the following error: _default/term.html:16:14: executing "main" at <.Paginate>: error calling Paginate: cannot convert type page.PagesGroup to Pages

I think it was caused by no terms set up, but I am no Hugo expert. Could please someone check if I fixed the issue properly?

Fixes issues of Hugo throwing the following error: `_default/term.html:16:14: executing "main" at <.Paginate>: error calling Paginate: cannot convert type page.PagesGroup to Pages`
@netlify
Copy link

netlify bot commented Sep 2, 2022

Deploy Preview for hugo-congo ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit c58bde0
🔍 Latest deploy log https://app.netlify.com/sites/hugo-congo/deploys/6369b1611c4ce6000844fab6
😎 Deploy Preview https://deploy-preview-289--hugo-congo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@jpanther
Copy link
Owner

jpanther commented Sep 7, 2022

Thanks for the PR, @michaeldorner. I've been trying to replicate the issue you are referring to but haven't been able to get that error to appear. Are you able to describe the configuration you're using when it appears? I'm using Hugo v0.102.3 in my testing.

@jpanther jpanther added the question Further information is requested label Sep 7, 2022
@michaeldorner
Copy link
Contributor Author

michaeldorner commented Sep 7, 2022

Thanks for looking at the issue. I started with a plain, empty website. Then the problem described above occurred. I can share the current state of my website if this helps.

@github-actions
Copy link

github-actions bot commented Nov 1, 2022

This pull request has been automatically marked as stale because it has not had any recent activity.
Please review the PR history and add a reply with any requested information. If no information has been requested, it may be that this contribution does not fit with the project objectives, or does not adhere to the contributing guidelines. If this is in error, please add a reply with further details.
This PR will automactically close in 14 days if no further activity occurs.

@github-actions github-actions bot added the stale This issue or pull request has not had any recent activity label Nov 1, 2022
@jpanther jpanther merged commit 8941a33 into jpanther:dev Nov 8, 2022
@jpanther
Copy link
Owner

jpanther commented Nov 8, 2022

Thanks @michaeldorner, I've merged this fix in.

@jpanther jpanther added bug Something isn't working and removed question Further information is requested stale This issue or pull request has not had any recent activity labels Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants