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

Improve error message when attempting to paginate from a single page template #11953

Closed
jmooring opened this issue Jan 31, 2024 · 1 comment · Fixed by #11954
Closed

Improve error message when attempting to paginate from a single page template #11953

jmooring opened this issue Jan 31, 2024 · 1 comment · Fixed by #11954
Assignees
Milestone

Comments

@jmooring
Copy link
Member

Paginating from a single page template is not supported.

In v0.54.0 and earlier the associated error message was:

error calling Paginate: Paginators not supported for pages of type "page".

In v0.54.1 and later the associated error message is:

runtime error: invalid memory address or nil pointer dereference

Obviously the prior error message was a bit more useful.

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 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants