Bug when going to the minipanel --> edit content

Fatal error: Call to undefined method stdClass::render() in /home/sites/all/modules/panels/panels.module on line 1013

CommentFileSizeAuthor
#2 megamenuerror.gif4.54 KBthomasmuirhead
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

willieseabrook’s picture

Hi

This looks like an issue with panels - see #861426: Call to undefined method stdClass::render() in panels.module on line 992.

What version of panels are you using? If you're using 6.x-3.7 then using the patch at http://drupal.org/node/861426#comment-3284382 should fix your problem.

Alternatively someone else also said upgrading to 6.x-3.x-dev fixes the issue.

thomasmuirhead’s picture

FileSize
4.54 KB

Little thing.

I upgraded to Panels-dev to fix this problem and I stopped getting that error. However, I got another small error. The megamenu drop down on the Edit Menu settings page then doesn't bring up the title of the minipanels. I've attached a screenshot. The drop down extends to the size of the number of minipanels, but doesn't bring their name up.

Thanks

Thomas

willieseabrook’s picture

So as at: 6.x-3.x-dev Download (388.03 KB) 2010-Oct-19

Menu minipanels is incompatible with panels 3.x-dev. I'll investigate this, perhaps the api has changed.

Another thing to check is, did you run db update after upgrading panels?

Here's the versions I've developed and use menu minpanels with:

Panels: 2010-07-27
version = "6.x-3.7"

CTools: 2010-07-27
version = "6.x-1.7"

I'm going to keep this as a bug an will try and reproduce the issue you're getting in 3.x-dev.

plastikkposen’s picture

Im using Panels 3.7 and CTools 1.7. I'll try you suggestion

Thanks for the response guys!

plastikkposen’s picture

Updated all modules, including drupal core 6.19 and latest menu_minipanel. No more error messages. Have not managed to see it in real action yet, neither in my artisteer-theme nor garland.

Question: What should go in the menulinks' adressfield??? cant make it work with or option, or a real webadress.

Thanks!

willieseabrook’s picture

Question: What should go in the menulinks' adressfield??? cant make it work with or option, or a real webadress.

Do you mean the menu item link?

You should link to a node as you usually do, menu minipanels won't interfere with that.

Have not managed to see it in real action yet, neither in my artisteer-theme nor garland.

(a) Are you getting any javascript errors in firebug
(b) Is there a link to a dev site I can take a look at?

plastikkposen’s picture

Menu link: correct, eg. the field where you put in the menu path.

Firebug does not give much info as far as I can see, although this message appear when messing around with firebug.
GET http://medmesh.net/sites/all/modules/jquery_update/replace/n (<--text is cut off here in firebug lite for chrome)
404 Not Found

Using:
jQuery UI 1.8.5
jQuery Update 1.3.2

Any suggestions?

As last try, ill install and check on a "clean" site.

willieseabrook’s picture

1. Rename your minipanel to not have a numeral in the name. This is a known bug which will be fixed very soon.
So change the name from minipanel1 to minipanelone for example.

2. There is another known bug where you can't use the same minipanel twice. You are using the same minipanel for both your test menu items. Use different minipanels.

Both these issues are known and will be fixed in the next release, which should be early next week.

plastikkposen’s picture

Update:
I've installed module on a fresh drupal install, and i works.

Thanks for looking into the stuff. I'll fiddle around with the suggestions to see whats happening.

Keep up the development. This is an importaint module! :-)

plastikkposen’s picture

Suggestion: Switch the place of the Save and Delete button.

:-) cheers

plastikkposen’s picture

I can confirm that it is not working in a Artisteer theme's "menu" block. Switching to Garland, and it works again.

willieseabrook’s picture

Status: Active » Closed (fixed)

This is fixed with upgrade to latest version. The subsequent issue of blank options in minipanel select box is fixed at #961948: Select box menu minipanels is empty

willieseabrook’s picture

This is fixed with upgrade to latest version. The subsequent issue of blank options in minipanel select box is fixed at #961948: Select box menu minipanels is empty