Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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().
Comment | File | Size | Author |
---|---|---|---|
#1 | debut_event_date_repeat_field_fix-1387166-1.patch | 379 bytes | ethanw |
Comments
Comment #1
ethanw CreditAttribution: ethanw commentedPatch 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.
Comment #2
nedjoThanks for the patch!
Comment #3
nedjoApplied, along with follow-up fixes by rosemarymann.
Comment #4.0
(not verified) CreditAttribution: commentedUpdate summary.