Closed (fixed)
Project:
Content Templates (Contemplate)
Version:
7.x-1.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2011 at 01:00 UTC
Updated:
4 Oct 2011 at 13:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
tonycpsu commentedI noticed this as well.
Comment #2
jmvidal commentedI'm seeing the same warning in my logs, when someone fetches /rss.xml
Which is very odd because I am not using contemplate to generate the rss.xml.
Comment #3
jmvidal commentedI'm still seeing this problem in the new drupal 7.2.
I get about 60 instances of the following message:
LOCATION http://mysite.com/rss.xml
REFERRER
MESSAGE Notice: Trying to get property of non-object in contemplate_get_template() (line 482 of /var/www/drupal7/sites/all/modules/contemplate/contemplate.module).
I am not using contemplate to generate rss.xml.
Comment #4
rickmanelius commentedSame here, particularly on the homepage feed.
Comment #5
Bram Esposito commentedI had this too.
It's specific to RSS templating. I attached a patch that fixes this in my case.
Comment #6
mike27 commentedI can confirm that this patch fixes the error
Comment #7
enkore commentedI get this notice still in alpha2
Comment #8
monraga commentedI applied the patch that Bram Esposito posted, but am still getting an error. I'm not using RSS feeds at the moment. I was trying to change the sort settings to my "front-page" view and I began getting this error. HELP!!!
Comment #9
Greg Adams commentedsame here
..the patch does not change anything
Comment #10
peteruithoven commentedSubscribe
Comment #11
dgtlmoon commentedLooks like it's getting that error processing your templates that you have created.
Do you get that error if you use a stock/original contemplate template?
Comment #12
dgtlmoon commentedAnd did you get that error after upgrading from 6.x ?
Comment #13
Refineo commentedI got this error too on D7.8 . Didn't migrate from D6.
I have no templates enabled yet.
Comment #14
dgtlmoon commentedCan you try the 7.x-rc2 release?
Comment #15
Refineo commentedThe same issue again in 7.x-1.0-rc2 , I got 27 notices as below, the only difference is in line numbering
Comment #16
dgtlmoon commentedthanks, working on it now
Comment #17
dgtlmoon commentedCan you try current dev?
Comment #18
dgtlmoon commentedshould be fixed in dev, please update..
Comment #19
marioboro commentedHello,
i have the same issues and the newest version, RC3, did not solve this problem.
Comment #20
dgtlmoon commentedcan you paste in your errors?
Comment #21
dgtlmoon commentedthe simpletest executes without throwing any errors
Comment #22
marioboro commentedComment #23
dgtlmoon commentedWhat do you mean by "Does not work" ?
Comment #24
marioboro commentedSorry i have opend a new post for this issue.
http://drupal.org/node/1284840
Thank´s
Comment #25
Refineo commented@dgtlmoon the previous 27 notices disappeared in rc3, now I got the following 5 notices when I try to create an Article (no templates created yet).
Drupal 7.8 + ConTemplate 7.x-1.0-rc3
Comment #26
dgtlmoon commentedthis is a fix with your content analysis module not contemplate