Download & Extend

Notice: Undefined property: stdClass::$subject in zen_process_block() (line 458 of /zen/template.php

Project:Zen
Version:7.x-5.x-dev
Component:PHP/JS code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

So I added:

function zen_process_block(&$variables, $hook) {
$variables['title'] = '';
// Drupal 7 should use a $title variable instead of $block->subject.
if(isset($variables['block']->subject)) {
$variables['title'] = $variables['block']->subject;
}
}

Sorry for not submitting a patch. I'm really busy right now.

Comments

#1

Version:7.x-5.1» 7.x-5.x-dev
Status:active» postponed (maintainer needs more info)

Under what circumstances does this occur? I've not seen this bug.

#2

For me Zen in combination with Panelizer and leaving pane title empty...

#3

For me a combination of Zen, Panels and being on the Homepage

nobody click here