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 presume this is connected with the drupal.org switch to D7, but Update module now reports an error when checking for updates on this project:
Notice: Undefined index: version_major in update_calculate_project_update_status() (line 626 of /var/sites/example.com/public_html/modules/update/update.compare.inc).
Notice: Undefined index: version_major in update_calculate_project_update_status() (line 633 of /var/sites/example.com/public_html/modules/update/update.compare.inc).
Notice: Undefined index: version_major in update_calculate_project_update_status() (line 643 of /var/sites/example.com/public_html/modules/update/update.compare.inc).
I've tracked this down to feeds_xls. It does seem strange to call this a 0.0 version, so perhaps that is causing the issue?
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedi can confirm 0.0 causes the problem.
we experienced the same error report. modified our local feeds_xls.info file to claim version 9.9 and after cache clearing the problem went away.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedfurther testing indicates the problem has not been solved. so 0.0 as a version number is not an issue.
we also get this error on another system where feeds_xls is not installed.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedwe belive we have tracked this down to a userpoints issue. see https://drupal.org/node/2213277
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedI'm not using User Points module though. This is definitely caused by the 0.0 version number. All I did to fix it was comment out all the lines underneath "; Information added by drupal.org packaging script on 2011-09-27"
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedmaybe there are multiple offenders?
we still got the error after hacking the version #, but that may be due to our use of both Userpoints and feeds_xls.
Thanks for the feedback.
Comment #6
sdrycroft CreditAttribution: sdrycroft commentedThis is clearly an issue with the update module, and needs fixing there.