Closed (fixed)
Project:
Ubercart Terms of Service
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2012 at 16:35 UTC
Updated:
13 Nov 2012 at 21:30 UTC
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).
| Comment | File | Size | Author |
|---|---|---|---|
| uc_termsofservice.module-7.x-1.x-dev-node-title-error-fix.patch | 378 bytes | devvmh |
Comments
Comment #1
jeuelc commentedits working. thanks. just in time...
Comment #2
bgm commentedPatch commited to 7.x-1.x, thanks!
Comment #3.0
(not verified) commentedmy <snip> tag wasn't showing