When clicking on customize this page (Activating IPE) the following php notice is generated.
php Notice: Undefined offset: 2 in panelizer_panels_cache_get() (line 1187 of panelizer.module).
The same notice is generated when saving your changes in the IPE, canceling or reverting to default. This does not occur when using the panelizer tab. This happen regardless of the content type.
Relavent Modules
Package Name Version
Chaos tool suite Chaos tools (ctools) 7.x-1.6-rc1+3-dev
Chaos tool suite Page manager (page_manager) 7.x-1.6-rc1+3-dev
Development Devel generate (devel_generate) 7.x-1.5
Panels Panelizer (panelizer) 7.x-3.1+99-dev
Panels Panels (panels) 7.x-3.4+19-dev
Panels Panels In-Place Editor (panels_ipe) 7.x-3.4+19-dev
Comment | File | Size | Author |
---|---|---|---|
#13 | panelizer-revision_on_editing-2408691-13.patch | 581 bytes | ruloweb |
#7 | panelizer-n2408691-7.patch | 812 bytes | DamienMcKenna |
Comments
Comment #1
kepford CreditAttribution: kepford commentedcorrecting description
Comment #2
DamienMcKennaComment #3
DamienMcKennaPlease try the latest -dev versions of CTools and Panels, and are you using any Panelizer patches or Panopoly modules?
Comment #4
kepford CreditAttribution: kepford commentedAdded module info
Comment #5
kepford CreditAttribution: kepford commentedDamien,
Tested in clean install with the following module and confirm it still persists.
Package Name Version
Chaos tool suite Chaos tools (ctools) 7.x-1.6-rc1+3-dev
Chaos tool suite Page manager (page_manager) 7.x-1.6-rc1+3-dev
Development Devel generate (devel_generate) 7.x-1.5
Panels Panelizer (panelizer) 7.x-3.1+99-dev
Panels Panels (panels) 7.x-3.4+19-dev
Panels Panels In-Place Editor (panels_ipe) 7.x-3.4+19-dev
Comment #6
DamienMcKennaDoes this resolve it for you?
Comment #7
DamienMcKennaSome comments.
Comment #8
DamienMcKennaComment #9
kepford CreditAttribution: kepford commentedPatch #7 resolves the issue and applies cleanly.
Comment #10
DamienMcKennaCommitted.
Comment #11
DamienMcKennaComment #13
ruloweb CreditAttribution: ruloweb commentedI reopen this issue because the new patch cause a new bug xD.
I have panelizer + fpp, both with revision enabled and managed with revisioning. When I try to edit a fpp from a node revision (not the published one) it show me the error "Invalid pane id" using IPE, and without IPE it opens the modal fpp edit form, but pointing the original fpp, not the correct revision.
The bug happens here:
for example for the key "3:page_manager:5", $view_node gets just "page_manager" and not "page_manager:5", which is needed for the next if to work.
It gets solved just adding the third parameter "2" to explode. Patch attached :)
Thanks!
Comment #14
ruloweb CreditAttribution: ruloweb commentedComment #15
DamienMcKennaCommitted. Thanks.