Closed (duplicate)
Project:
Panels
Version:
7.x-3.3
Component:
Mini panels
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2010 at 00:54 UTC
Updated:
1 Aug 2018 at 08:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
merlinofchaos commentedPlease tell me what you mean by can't? Without details I am forced to assume that pink elephants dressed up as gay police strippers are somehow preventing you from clicking the edit link on the mini panel. =)
Comment #2
BeaPower commentedlol, yes I see the edit link but I can only change the name of the mini panel and not say - define a region in the mini panel or add more content to regions.
Comment #3
merlinofchaos commentedThere are some links above those setting. Layout, context. They look too much like a breadcrumb trail right now,b ut they're clickable.
Comment #4
BeaPower commentedOk I see them, but when I click content I get this error: Fatal error: Call to undefined method stdClass::render() in /home/dod/public_html/modules/panels/panels.module on line 1013
Comment #5
karma.code commentedWhere is the fix for this? I don't see a patch.
Comment #6
mrlava commentedim getting the same error and see no fix here so setting as active again
Comment #7
merlinofchaos commentedThat is very interesting. That piece of code is not actually *supposed* to get called when editing a mini panel.
If one of you happens to be running devel.module and Views can you please, just before the failing line in panels.module add this:
if (method_exists($display, 'render')) { vsm_trace(); }
And then paste the results here?
Comment #8
karma.code commentedEarl,
I did this:
if (method_exists($display, 'render')) { vsm_trace(); }
die();
and got nothing.
Comment #9
mrlava commentedmerlinofchaos,
I added that line on 1013, nothing is displayed on the edit content page, just blank. however if i load the edit basic settings of the minipanel it gives:
panels_mini.module: panels_render_display line 79
module.inc: call_user_func_array line 462
context.core.inc: module_invoke line 581
context.core.inc: context_block_list line 444
theme.inc: call_user_func_array line 656
theme.inc: theme line 1820
theme.inc: call_user_func_array line 697
index.php: theme line 36
dunno if that helps since thats not where the error is though =/
Comment #10
merlinofchaos commentedSorry, I typo'd my code.
It should be if (!method_exists)
The die() shouldn't happen. vsm_trace() puts its info in drupal_set_message.
Comment #11
mrlava commentedSame, blank page, no message, error moved to line 1014
Comment #12
merlinofchaos commentedOk, there must be something wrong. Let's try it this way:
if (!method_exists($display, 'render')) { print_r(debug_backtrace()); exit; }
Comment #13
mrlava commentedhmm, lots of output, i'll just screenshot the whole view for you
Comment #14
mrlava commentedEarl,
Does that help or do you need more information from me?
Thanks for the help
Comment #15
merlinofchaos commentedYes that output is helpful.
From the output it appears that the mini panel you're editing is also appearing on the page in the blocks, and the one being displayed in the block is failing.
This may be a bit of a pain for me to reproduce but I have an idea how to fix it. Try this patch to CTools (NOT to Panels! =)
Comment #16
mrlava commentedEarl,
Still the same error.
PHP Fatal error: Call to undefined method stdClass::render() in panels/panels.module on line 1013
Comment #17
mrlava commenteddoing this made it editable but not sure if its breaking anything else
http://drupal.org/node/861426#comment-3273914
Comment #18
merlinofchaos commentedOk, let's mark this a dup as they are clearly the same issue. I think we're narrowing in on the culprit. I'm surprised my solution did not work, though. I will have to duplicate and see what is missing.
Comment #19
zazinteractive commentedThe breadcrumb menu really confused me as well.
Comment #20
Anonymous (not verified) commentedwoah this got me crazy for a good while!
They do look like breadcrumbs. The standard layout of tabs or just a horizontal list would be better.
Comment #21
asb commentedDefinitely yes, this left my scratching my head for a while...
@merliln (#3): Thanks for the clarification, anyway!
Comment #22
AlmogBaku commentedwow! its 2012 now and it still looks like breadcrumbs!
somebody should fix it!
Comment #23
AlmogBaku commentedComment #24
sydneyshan commentedFrom a user perspective these » symbols read like a breadcrumb bar, not a series of separate links.
Comment #25
johnflower commentedI agree, the menu looks like breadcrumbs, no wonder Hansel and Gretel got lost!
Comment #26
tuccio commentedI too am here because I had problems figuring how to edit minipanels (which I never use). Those links should look like tabs, not breadcrumbs.
Comment #27
merlinofchaos commentedhttp://drupal.org/node/1775234
Comment #28
Mikeyrush commentedHi,
This exact issue was driving me insane, I too was completely thrown by the "breadcrumbs" that are not. Thank you so much for providing the above information, saved the day for me :)