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.

Comments

Kripsy’s picture

I am getting the same problem. Any ideas? I can still inject the mini-panels as blocks but that is less than optimal ;).

irishgringo’s picture

yes, 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.

Kripsy’s picture

Ah 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.

reaneyk’s picture

The workaround works for me as well. Thanks vinceyoumans!

thebuckst0p’s picture

Status: Active » Needs review
StatusFileSize
new737 bytes

I 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.

ethanw’s picture

StatusFileSize
new1.26 KB

Thanks 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

Kripsy’s picture

I can confirm this patch works.

irishgringo’s picture

very welcome, assuming I deserved credit.

merlinofchaos’s picture

Status: Needs review » Closed (won't fix)

Panels 2 is no longer available and is unsupported. Marking all Panels 2 issues won't fix.