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

Collection tag throws error when using pagination and no entries and no limit set #1564

anthubbard opened this Issue Aug 23, 2017 · 1 comment


None yet
4 participants

anthubbard commented Aug 23, 2017

As it says, if there is a collection with no entries, and with pagination set, and no limit set on the loop it throws an error:

ErrorException in CollectionTags.php line 489:
Division by zero

This isn't so much a bug, as a need to update the docs and specify that limit="x" is required when using pagination.

On 1.6.4 but probably earlier versions also.


This comment has been minimized.

pinkahd commented Mar 19, 2018

This issue still occurs in Statamic version 2.8.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment