Active
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Aug 2011 at 17:12 UTC
Updated:
13 May 2013 at 20:46 UTC
I get this when viewing a particular panel or viewing the contexts screen in the page's admin UI.
Warning: Illegal offset type in isset or empty in ctools_context_required->select() (line 168 of C:\Users\JD\Documents\websites\tbm.git\sites\all\modules\ctools\includes\context.inc).
Debugging this code, I can't see what's causing this.
Comments
Comment #1
jdleonardExport of the panel:
Comment #2
jdleonardI haven't repro'd this in a while. I'll reopen if it shows itself again, thanks.
Comment #3
brownrl commentedI've run into this too.
It seems this code in context.inc of the ctools module.
Around line 179.
The !empty is failing.
The $context for me when dpm'd seems to be an array with 1 element in it.
I've put this in the beginning of the function for now and it seems to go away.
Comment #4
seanrGetting this as well:
Occurs when adding this view:
Comment #5
seanrComment #6
seanrIt looks like the $context variable is coming through as this:
Bug in panelizer? I'm only seeing this for one vocabulary, though. With the other one I have panelized, it works just fine.