When attempting to create an event with a new openoutreach install, the following error is logged and the node create form fails to display:

PHP Fatal error:  Call to undefined function date_repeat_after_build() in /Users/ethan/Sites/openoutreach.local/includes/form.inc on line 1828, referer: http://openoutreach.local/

The issue is that date_repeat_field is not enabled by default by the debut_event feature.

Temporary workaround: manually enable the "Date repeat field" module.

Fix: add date_repeat_field to the dependencies of debut_event.

See also #1380062: cannot add new event and #1378454: Fatal error: Call to undefined function date_repeat_after_build().

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ethanw’s picture

Status: Active » Needs review
FileSize
379 bytes

Patch against current HEAD attached. Adds date_repeat_field as a requirement in the feature module's info file.

Untested, but should work; enabling that module via drush on an existing install worked for me.

nedjo’s picture

Status: Needs review » Reviewed & tested by the community

Thanks for the patch!

nedjo’s picture

Status: Reviewed & tested by the community » Fixed

Applied, along with follow-up fixes by rosemarymann.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

Update summary.