With the update of Drupal 7 to RC1, the Zen theme and any sub-themes based off of it, is outputting the string 'Array' instead of the rendered tabs when calling print render($tabs);

CommentFileSizeAuthor
#7 zen.patch228 bytesnathanjo

Comments

juves’s picture

I confirm that

juves’s picture

There are also no views- and views-exposed-filter blocks in the sidebar.

I am not sure that this is Zen issue, but this blocks are shown in Panels.

UPD It's an Views bug, sorry

flokli’s picture

Same problem here.

Only

<div class="tabs">Array</div>

appears in source code.

Really ugly, because you don't see edit links and such anymore.

Also it could be important to know that you always see the "Array" text, whether logged in (edit tabs visible) or not.

jmaties’s picture

The same problem

chichiMi5’s picture

Same problem here as well, I can confirm that its Zen and its subthemes as I have no problems with core themes to output render tabs when calling print render($tabs);

Subscribing.

rosborn’s picture

Same problem upgrading to RC1 from beta3

nathanjo’s picture

StatusFileSize
new228 bytes

Same problem when I install Drupal-7-rc1 and zen-7.x-3.x-dev.
I found the issue in zen_menu_local_tasks template.php, should return drupal_render($output)?
I don't know if that's really the issue but works.

pingo’s picture

Running D7 RC1, getting the same problem... Changing zen_menu_local_tasks as in #7 does the trick, thanks!

5t4rdu5t’s picture

Yes, #7 worked for me too with Zen in D7 RC1.

mattis’s picture

Thanks nathanjo, #7 did the trick.

rosborn’s picture

#7 works for me as well. Many thanks.

markdorison’s picture

Status: Active » Reviewed & tested by the community
johnalbin’s picture

Status: Reviewed & tested by the community » Needs work

#599706: Allow to alter local tasks/actions got committed just before RC1 release. Previously, theme_menu_local_tasks() was horribly, horribly broken. I'm glad that fix got in. But it completely changes the way that theme function works.

Since Zen was overriding the old, broken theme function, it needs to be updated to use the new theme function internals.

johnalbin’s picture

Title: print render $tabs is outputting string 'Array' » $tabs displaying as string 'Array' due to change in theme_menu_local_tasks()
Status: Needs work » Fixed

I've updated zen_menu_local_tasks() and the tabs appear to be fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Sinan Erdem’s picture

mistaken comment. deleted. sorry