Notice: Undefined index: page in panels_simple_cache_get_id() (line 108 of /var/www/drupal7/rr2011/sites/all/modules/panels/plugins/cache/simple.inc).
Notice: Undefined index: page in panels_simple_cache_get_id() (line 108 of /var/www/drupal7/rr2011/sites/all/modules/panels/plugins/cache/simple.inc).
Notice: Undefined index: page in panels_simple_cache_get_id() (line 108 of /var/www/drupal7/rr2011/sites/all/modules/panels/plugins/cache/simple.inc).
Notice: Undefined index: page in panels_simple_cache_get_id() (line 108 of /var/www/drupal7/rr2011/sites/all/modules/panels/plugins/cache/simple.inc).
Notice: Undefined index: page in panels_simple_cache_get_id() (line 108 of /var/www/drupal7/rr2011/sites/all/modules/panels/plugins/cache/simple.inc).
Notice: Undefined index: page in panels_simple_cache_get_id() (line 108 of /var/www/drupal7/rr2011/sites/all/modules/panels/plugins/cache/simple.inc).
Notice: Undefined index: page in panels_simple_cache_get_id() (line 108 of /var/www/drupal7/rr2011/sites/all/modules/panels/plugins/cache/simple.inc).
Notice: Undefined index: page in panels_simple_cache_get_id() (line 108 of /var/www/drupal7/rr2011/sites/all/modules/panels/plugins/cache/simple.inc).
Notice: Undefined index: page in panels_simple_cache_get_id() (line 108 of /var/www/drupal7/rr2011/sites/all/modules/panels/plugins/cache/simple.inc).
Notice: Undefined index: page in panels_simple_cache_get_id() (line 108 of /var/www/drupal7/rr2011/sites/all/modules/panels/plugins/cache/simple.inc).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dasjo’s picture

Version: 7.x-3.0-alpha3 » 7.x-3.x-dev
Priority: Major » Normal
Status: Active » Needs review
FileSize
516 bytes

just came across this issue, page should not be expected to be set, see the attached patch

dasjo’s picture

dasjo’s picture

let's try without dpm

deepbluesolutions’s picture

this patch cleared this error on my setup, and all looks to be caching nicely. Are there any implications or can this be committed to panels ?

merlinofchaos’s picture

Version: 7.x-3.x-dev » 6.x-3.x-dev
Status: Needs review » Patch (to be ported)

This does mean that some panes will recache for paging even when they shouldn't, but I think it is a pretty small occurence. This will do. Committed to 7.x-3.x

This needs to be backported to 6.x-3.x as well.

ryan.gibson’s picture

Status: Patch (to be ported) » Needs review
FileSize
511 bytes

I know this is an eternity later. But I'm suddenly in the Drupal 6 world instead of Drupal 7. Thought I'd give this a shot. Hopefully I did it right. If not, let me know hwo to fix it and I surely will.

DamienMcKenna’s picture

Status: Needs review » Reviewed & tested by the community

That resolves the problem.

esbenvb’s picture

Here's a patch for 6.x-3.9

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 8: panels-simple-cache-1212670-7.patch, failed testing.

  • Commit 9405995 on 7.x-3.x, 7.x-3.x-i18n, 8.x-3.x by merlinofchaos:
    Issue #1212670: Ensure simple cache respects the pager.
    
    
esbenvb’s picture

This patch has the proper paths but is the same as #8

esbenvb’s picture

FileSize
485 bytes

THIS patch works. Sorry for the noise

DamienMcKenna’s picture

Status: Needs work » Needs review

The last patch needs review.

DamienMcKenna’s picture

vijaycs85’s picture

Status: Needs review » Reviewed & tested by the community

nice.

intrafusion’s picture

Status: Reviewed & tested by the community » Closed (duplicate)
Related issues: +#1062290: Undefined index: use_pager on line 108 in plugins/cache/simple.inc