If pager_id is isset but not numeric,

    for ($i = 0; $i <= $this->options['id'] || $i < count($pager_page_array); $i++) {
      $pager_page_array[$i] = empty($page[$i]) ? 0 : $page[$i];
    }

from views_plugin_pager_full.inc

causes a fatal error due to memory limit because count($pager_page_array) is always one ahead (the non-numeric index).

Could be fixed in views or views_content, patch for views_content to make sure the value is numeric. Could also add validation to assure it.

CommentFileSizeAuthor
ctools_views_content_numeric_pager_id.patch655 byteshefox

Comments

hefox’s picture

Component: Code » Views Content
mpotter’s picture

Status: Needs review » Reviewed & tested by the community

Looks good, no brainer.

boyan.borisov’s picture

Works for me, too.

japerry’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.