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

CommentFileSizeAuthor
error3.jpg193.08 KBgregmcf
error.jpg201.46 KBgregmcf
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xtfer’s picture

Status: Active » Postponed (maintainer needs more info)

@gregmcf: Which version of PHP are you using?

gregmcf’s picture

PHP 5.3.3

xtfer’s picture

Status: Postponed (maintainer needs more info) » Active
gregmcf’s picture

I 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

kim.pepper’s picture

Hi Greg,

Just confirmed I can reproduce this issue too.

Kim

xtfer’s picture

Status: Active » Postponed (maintainer needs more info)

This 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.

pameeela’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)