Error with large number of items

Created on 26 June 2017, over 7 years ago
Updated 7 June 2023, over 1 year ago

We have ~1200 news articles, and it seems to cause some error when the View filter allows all the 1000+ articles.

I'm sorry this is going to be a crappy bug, but I can't figure out were the code is erroring. It must be some kind of out-of-memory error, because nothing is appearing in the logs?

It only seems to happen when placing the pager block on the article pages. The pager renders in the "Edit View" preview area just fine (it says "1 of 1270", etc). But when I place the block on the article page, I get a "white page of death".

I am not able to get any errors or stack traces, in any of the logs (either output to the screen or in apache, php-fpm, the Drupal DB log, etc, with all error reporting turned on...). (No "performance suggestions" appear, either).

I have even stepped through the extension code, and commented out parts (like the counter), and it doesn't seem like any code in this module itself is erroring. I can't figure it out.

If I set the pager to LIMIT 10 (ish), or add filters to reduce the number of items, the pager renders as expected.

Sorry for the poor bug, but I thought I would file it in case anyone can track down what loop or something is choking on 1000+ items. Thanks.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States thaddeusmt

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¬πŸ‡§United Kingdom sp3boy

    I am adopting the patch from #8 as a much-needed solution for the rendering limit and general performance issues. I agree with the suggested refinements but for now this makes it possible for me to provide the site functionality.

Production build 0.71.5 2024