Closed (won't fix)
Project:
Panels
Version:
6.x-2.0-alpha2
Component:
Mini panels
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2008 at 20:11 UTC
Updated:
17 Sep 2009 at 16:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
Kripsy commentedI am getting the same problem. Any ideas? I can still inject the mini-panels as blocks but that is less than optimal ;).
Comment #2
irishgringo commentedyes, I think this is a bug...
but try this little trick. go back to your minipanels, and give them ONE character names.. like A or B... Just one character... then try adding the minipanels to your panels again.
Comment #3
Kripsy commentedAh hah. That worked, thank you. Now I know this is alpha, but is there a patch some place that will fix this little bug? It would be nice to not have to go through the alphabet until the next revision.
Comment #4
reaneyk commentedThe workaround works for me as well. Thanks vinceyoumans!
Comment #5
thebuckst0p commentedI had the same problem and traced the error to line 183 in patch_mini.module, in panels_mini_title_mini_panel(). Basically it looks like the function is receiving a string but treating it as an array. I fixed it and made the attached patch (run from the panels module folder). Note that similar errors are coded in other parts of the module and I have not tested if the same fix works on all of them, only the "Missing/Deleted mini-panel" error.
Comment #6
ethanw commentedThanks for that patch!
The above patch doesn't seem to catch all the instances in which $conf['name'] is used instead of just $conf ($conf is now the mini panel name and indexing with 'name' returns the first char of the name string.
Attached is an updated patch which replaces all instances of $conf['name'] with $conf for panels release alpha2
Comment #7
Kripsy commentedI can confirm this patch works.
Comment #8
irishgringo commentedvery welcome, assuming I deserved credit.
Comment #9
merlinofchaos commentedPanels 2 is no longer available and is unsupported. Marking all Panels 2 issues won't fix.