Trouble Paginating Taxonomy #5574
Unanswered
rdbinteractive
asked this question in
Q&A
Replies: 1 comment
-
I don't think you can paginate those as Can you show an example of another modifier that throws that error for you? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to paginate a taxonomy and getting the following error:
Call to a member function all() on array
I am following the docs from here: https://statamic.dev/tags/taxonomy#entries, specifically the part that says:
"You're free to use filtering or sorting parameters on the entries pair that you'd find on the collection tag."
Here is the code I'm using:
With no parameters,
{{ entries }}
works as expected. I get all articles from the correct category.It seems that using any parameter triggers this error for me.
I'd really appreciate it if someone could explain what I'm doing wrong.
Thank you for your time.
Beta Was this translation helpful? Give feedback.
All reactions