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

KarenS’s picture

Status: Active » Fixed

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

grouchyladybug’s picture

That was it. Enabled Date API, update.php ran fine. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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