I get the following error when I try to output the teaser for a node. I really need to be able to print thumbnail pictures along with the title of the node. But having a warm time in doing so. If there is another solution or a patch that I could use, it would be greatly appreciated. Been slugging about with this one for days now. Here is the output error:
Notice: Undefined property: stdClass::$teaser in template_preprocess_similarterms() (line 568 of /httpdocs/sites/all/modules/similarterms/similarterms.module).
I don't mind working around the teaser thing and finding someway to output the node title and a [thumbnail] picture that is in the node as well.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | notice_error-1302684-5.patch | 617 bytes | mgifford |
Comments
Comment #1
djmy commented+1
Comment #2
amfriedman commented+1
Comment #3
manimaran.g commentedMe too have this problem , Please help me
Comment #4
mgiffordNotice: Undefined property: stdClass::$teaser in template_preprocess_similarterms() (line 587 of /DRUPAL7/sites/all/modules/contrib/similarterms/similarterms.module).Think it may just be a matter of checking to see if the variable exists, like:
Comment #5
mgiffordRolled this patch against the the repo. Stuff has been moved about. Looks good.
Comment #6
takim commented