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.
Getting a fatal error after upgrading to Date RC3 when running update.php:
An error occurred. http://[mysite]/update.php?id=8&op=do
Fatal error: Call to undefined function date_api_views_clear() in [mydrupaldir]/sites/all/modules/date/date_api.install on line 156
I have the latest version of Views (6.x-2.0-rc4 released 10/1). I'm assuming that is the problem. Would rather not downgrade to Views RC3 though.
Comments
Comment #1
KarenS CreditAttribution: KarenS commentedI made a commit that may help. Just out of curiosity, did you have Date API disabled when you ran update? Drupal 6 updates all modules that are in the modules folder even if they are disabled, causing problems like this sometimes.
The only thing you missed was an attempt to clear all your caches and your theme registry, so if you just do that manually you'll be fine.
Comment #2
grouchyladybug CreditAttribution: grouchyladybug commentedThat was it. Enabled Date API, update.php ran fine. Thanks!
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.