I have created several different panels using various layouts and when I add any mini-panel to it, the mini-panel is displayed as "Deleted/Missing mini-panel" and the content does not display. (see attached screenshot)
PS: I read through the known issues and release notes and didn't see anything about this issue. If this is an already known bug and I missed it, my apologizes.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | panels_mini.module.patch | 1.26 KB | ethanw |
| #5 | mini_panels_error.patch | 737 bytes | thebuckst0p |
| panels.png | 33.85 KB | reaneyk |
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.