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).

Comments

dasjo’s picture

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

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

dasjo’s picture

StatusFileSize
new484 bytes
dasjo’s picture

StatusFileSize
new484 bytes

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.

ryanissamson’s picture

Status:Patch (to be ported)» Needs review
StatusFileSize
new511 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

StatusFileSize
new622 bytes
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch panels-simple-cache-1212670-7.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

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

StatusFileSize
new538 bytes

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

esbenvb’s picture

StatusFileSize
new485 bytes
PASSED: [[SimpleTest]]: [MySQL] 0 pass(es).
[ View ]

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.