After adding the Time field to the teaser of Blog Article, I can no longer open the home page of the website. Below is the error message when trying to view the home page. Attached is a screendump of this error message. I also attach a screendump of the configuration page that led to this problem. Since I can not go to the home page, I fixed this by going to another page (where the blog teasers were not displayed) and removed the Time field.
=================================
Error
Error message
Notice: Undefined property: stdClass::$field_event_date in agov_events_event_date_field() (line 34 of /home/veganaustralia/public_html/agov-7.x-1.0-beta11/profiles/agov/modules/features_content/agov_events/agov_events.module).
Notice: Undefined property: stdClass::$field_event_date in agov_events_event_date_field() (line 34 of /home/veganaustralia/public_html/agov-7.x-1.0-beta11/profiles/agov/modules/features_content/agov_events/agov_events.module).
Notice: Undefined property: stdClass::$field_event_date in agov_events_event_date_field() (line 34 of /home/veganaustralia/public_html/agov-7.x-1.0-beta11/profiles/agov/modules/features_content/agov_events/agov_events.module).
Notice: Undefined property: stdClass::$field_event_date in agov_events_event_date_field() (line 34 of /home/veganaustralia/public_html/agov-7.x-1.0-beta11/profiles/agov/modules/features_content/agov_events/agov_events.module).
Exception: DateTimeZone::__construct(): Unknown or bad timezone () in DateTimeZone->__construct() (line 94 of /home/veganaustralia/public_html/agov-7.x-1.0-beta11/profiles/agov/modules/features_content/agov_events/agov_events.module).
The website encountered an unexpected error. Please try again later.
aGov is developed by PreviousNext
Comment | File | Size | Author |
---|---|---|---|
error3.jpg | 193.08 KB | gregmcf | |
error.jpg | 201.46 KB | gregmcf |
Comments
Comment #1
xtfer CreditAttribution: xtfer commented@gregmcf: Which version of PHP are you using?
Comment #2
gregmcf CreditAttribution: gregmcf commentedPHP 5.3.3
Comment #3
xtfer CreditAttribution: xtfer commentedComment #4
gregmcf CreditAttribution: gregmcf commentedI just tried this with rc3 and got the same error when viewing the home page after adding the Time field to the teaser of Blog Article.
Error
Error message
Notice: Undefined property: stdClass::$field_event_date in agov_events_event_date_field() (line 34 of /home/veganaustralia/public_html/agov-7.x-1.0-rc3/profiles/agov/modules/features_content/agov_events/agov_events.module).
Notice: Undefined property: stdClass::$field_event_date in agov_events_event_date_field() (line 34 of /home/veganaustralia/public_html/agov-7.x-1.0-rc3/profiles/agov/modules/features_content/agov_events/agov_events.module).
Notice: Undefined property: stdClass::$field_event_date in agov_events_event_date_field() (line 34 of /home/veganaustralia/public_html/agov-7.x-1.0-rc3/profiles/agov/modules/features_content/agov_events/agov_events.module).
Notice: Undefined property: stdClass::$field_event_date in agov_events_event_date_field() (line 34 of /home/veganaustralia/public_html/agov-7.x-1.0-rc3/profiles/agov/modules/features_content/agov_events/agov_events.module).
Exception: DateTimeZone::__construct(): Unknown or bad timezone () in DateTimeZone->__construct() (line 94 of /home/veganaustralia/public_html/agov-7.x-1.0-rc3/profiles/agov/modules/features_content/agov_events/agov_events.module).
The website encountered an unexpected error. Please try again later.
aGov is developed by PreviousNext
Comment #5
kim.pepperHi Greg,
Just confirmed I can reproduce this issue too.
Kim
Comment #6
xtfer CreditAttribution: xtfer commentedThis no longer occurs in 2.x. I wonder if it has something to do with the field configuration on the view used on the homepage.
Comment #7
pameeela CreditAttribution: pameeela commented