Date Popup Authored assumes there is a default value for the Authored On field. Based on this assumption, it proceeds to reformat it based on Date Popup's expected input.

However, when one first loads the node submission form, there is no default value. This results in a WSOD and the following error:

Fatal error: Call to a member function format() on a non-object in /path/to/drupal/sites/all/modules/date_popup_authored/date_popup_authored.module on line 120

Comments

Mark Trapp’s picture

Status: Active » Fixed

A fix has been committed and will be part of the forthcoming 7.x-1.1-alpha2 release.

Mark Trapp’s picture

Title: Creating a new node with Date Popup Authored enabled results in a White Screen of Death » Saving a new node with Date Popup Authored enabled results in a White Screen of Death
Status: Fixed » Needs work

An additional WSOD was found when saving a new node under certain conditions. A fix is forthcoming.

Mark Trapp’s picture

Status: Needs work » Fixed

This is actually fixed by the changes made in #970622: Saving a node with Date Popup Authored enabled will result in published time drift: the only time $form_state['values']['date'] won't be a DateObject object is when the format is incorrect, which it was.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.