Userpoints causes update error Undefined index: version_major

Created on 7 March 2014, about 11 years ago
Updated 6 November 2023, over 1 year ago

We are getting an generic error Notice: Undefined index: version_major in update_calculate_project_update_status() that we have tracked down to being caused by userpoints.

My guess is that the update meta data provided by the userpoints project is corrupt.

the following is the list of "releases" as detected by update.compare.inc
releases Array [8]
7.x-1.0 Array [13]
7.x-1.0-rc1 Array [14]
7.x-1.0-beta2 Array [14]
7.x-1.0-beta1 Array [14]
7.x-1.0-alpha2 Array [14]
Array [11]
7.x-2.x-dev Array [13]
7.x-1.x-dev Array [13]

Yep - one is missing a "release". if you go here https://drupal.org/node/25406/release and scroll through the list of releases, you will find one just labelled as
"usepoints" (no release #)
with a date of Posted by Berdir on December 19, 2010 at 5:48pm.

I marked this as major as it is causing the update module to be pretty much useless.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code: userpoints

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024