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.
Whenever I run update.php,I see this:
uc_cart_links module can not be updated. Its schema version is 0. Updates up to and including 1 have been removed in this release. In order to update uc_cart_links module, you will first need to upgrade to the last version in which these updates were available.
It doesn't seem to be hurting anything, but it's annoying. What can I do to correct this?
Comments
Comment #1
JoelMFD CreditAttribution: JoelMFD commentedbump
Comment #2
TR CreditAttribution: TR commentedWithout knowing the details of what you upgraded from and what you upgraded to, it's hard to say *why* that error occurred, but you *can* safely ignore that message in this case. Everything will still work properly.
Comment #3
ericinwisconsin CreditAttribution: ericinwisconsin commentedI updated from Drupal 5.x to 6.22. I get the status report notice that some modules are out of date, but none are listed in the available updates. It's showing up with I run update.php with the error I mentions and the select versions is opened on the update page.
Comment #4
4kant CreditAttribution: 4kant commentedsubscribe - updated from ubercart 6.x-2.4 to 6.x-2.6
Comment #5
longwaveI think we can safely remove uc_cart_links_update_last_removed() from 6.x. It was added late, so some installs have schema version 0 when it should be 1.
uc_cart_links_update_1() deleted a single variable so it's not critical to have it in place: http://drupalcode.org/project/ubercart.git/blob/refs/heads/5.x-1.x:/uc_c...
Comment #6
longwaveCommitted: http://drupalcode.org/project/ubercart.git/commit/f31a207
Comment #7
4kant CreditAttribution: 4kant commentedThanks Dave,
everything`s OK now.
Comment #9
davemurphy CreditAttribution: davemurphy commentedcan we have this opened again please.
I just update from Ubercart 6.x-2.1 to 6.x-2.7 on Drupal 6.22 and I get exactly the error as described above.
Dave
Comment #10
longwaveThe code that would trigger this was removed for Ubercart 6.x-2.7 so I am not sure how this can still occur.
Comment #11
davemurphy CreditAttribution: davemurphy commentedfixed it by emptying cache, flush database, and running update.php again.
closing
Dave