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.
| Comment | File | Size | Author |
|---|---|---|---|
| ctools_views_content_numeric_pager_id.patch | 655 bytes | hefox |
Comments
Comment #1
hefox commentedComment #2
mpotter commentedLooks good, no brainer.
Comment #3
boyan.borisov commentedWorks for me, too.
Comment #4
japerryTested, fixed, and committed:
http://drupalcode.org/project/ctools.git/commit/e3ccd43dd5df2a224041bbb7...