Download & Extend

Undefined index: use_pager on line 108 in plugins/cache/simple.inc

Project:Panels
Version:6.x-3.9
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:needs review

Issue Summary

I just started enable caching for our project and came across this.
I'm not sure whether this check should be removed, changed or enhanced :)

  • Removed because I can't find any "use_pager" config elsewhere in the whole panels module
  • Changed because ctools implements this related to the views content type plugin
  • Enhanced because I'm not sure if this will work on detecting paging for views / views_panes content types

Comments

#1

Me 2

#2

I solved my problem by just disabling cache for each panel

#3

I solved my problem by just disabling cache for each panel i.e.
in the panel contents tab change caching (Caching->change=> No Caching) for each panel by clicking on the settings anchor at top-right of each panel.

(Note: I was using 7.x-3.x-alpha2 but the message was the same)

#4

Removing tags for duplicating the "Assigned" or "Component" fields.

#5

Status:active» needs review

I have this problem also ...
Let me share possible solution for this problem;

- Open file "plugins/cache/simple.inc" which is located in panels module folder,
- Find line 108;

<?php
if($pane->configuration['use_pager'] == 1) {
?>

- Replace line 108 with the code below;

<?php
if(isset($pane->configuration['use_pager']) && $pane->configuration['use_pager'] == 1) {
?>

I hope it works ...
It should be ...

#6

Status:needs review» fixed

Fixed the notice.

#7

Status:fixed» closed (fixed)

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

#8

Version:7.x-3.x-dev» 6.x-3.9
Assigned to:Anonymous» TipiT

Here is a patch for Drupal 6. It was even in a same line so I guess it fits to D7 too, but I haven't tested.

AttachmentSize
panels-use_pager_cache-1062290-8.patch 501 bytes

#9

Assigned to:TipiT» Anonymous
Status:closed (fixed)» needs review