I have a pane in my checkout screen showing a terms of service node. I hid the title to make it look cleaner. This works fine, but the following error message appears at the top of my checkout screen:

Notice: Undefined property: stdClass::$title in template_preprocess_node() (line 1451 of <snip>/node.module).
Notice: Undefined property: stdClass::$title in node_page_title() (line 2108 of <snip>/node.module).

The attached patch fixes this issue (sets the node title to '' instead of unsetting the node's title, which throws off drupal_render).

Comments

jeuelc’s picture

its working. thanks. just in time...

bgm’s picture

Status: Active » Fixed

Patch commited to 7.x-1.x, thanks!

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

my <snip> tag wasn't showing