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.
I just did an update of the Date modules to the latest dev and receive this message during the update.
An unrecoverable error has occured. You can find the error message below. It is advised to copy it to the clipboard for reference.
Fatal error: Call to undefined function content_instance_tablename() in /home/drupal_5x_dev_01/sites/all/modules/date/date/date.install on line 373
Comments
Comment #1
Shane Birley CreditAttribution: Shane Birley commentedAdditionally, this message appears.
Comment #2
Shane Birley CreditAttribution: Shane Birley commentedChanging the title to be a little more appropriate.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedI can confirm having this identical error when updating from 5.x.1.x to 5.x.2.0-rc3
Comment #4
KarenS CreditAttribution: KarenS commentedYes, this was a stupid copy/paste error when I copied back some code from the D6 version. Fix committed. Thanks!
Comment #5
hyperlogos CreditAttribution: hyperlogos commentedWhen is -rc4 coming out, then? :)
Is there any problem with not having whatever this update is supposed to do happening until then?
Comment #6
Shane Birley CreditAttribution: Shane Birley commentedDownload the 5.x-2.x-dev version to test it out.
Comment #7
Shane Birley CreditAttribution: Shane Birley commentedYou rule!
Comment #8
KarenS CreditAttribution: KarenS commented#5 Pretty soon, working through a few more bugs. If you safely got past the update process you don't need to worry about this patch.
Comment #9
TallDavid CreditAttribution: TallDavid commentedKaren,
I had the same problem with 5.x-2.x-rc3, found this thread, downloaded/installed 5.x-2.x-rc4 (which is more recent than the latest DEV code) and am still getting the same error. Suggestions?
Comment #10
KarenS CreditAttribution: KarenS commentedThat problem is fixed in rc4. I just went and downloaded the tarball from the project page just to be sure and content_instance_tablename() is not anywhere in the code and definitely not on that line. Did you have the 5.1 version of the date module installed previously? If so, you may have old files from that version that are getting used. Clean out your 'date' folder before dumping in the new files. And make sure you don't have date files somewhere else (like in the 'modules' folder where we used to put them).
Comment #11
TallDavid CreditAttribution: TallDavid commentedKaren, the problem I was having in RC4 went away with installation of RC5. FYI.
Comment #12
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.