Needs review
Project:
User Points User Picture
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2011 at 08:27 UTC
Updated:
4 Jun 2012 at 15:09 UTC
Jump to comment: Most recent file
Comments
Comment #1
berdirSounds like you are using a module that grants points when you log in.
Userpoints itself does never automatically grant points.
What userpoints related modules do you have enabled?
Comment #2
KirstenLangholz commentedHello,
after testing I could figure out that the implementation for userpoint user pictures provokes this error message. Do I have to open an issue over there now?
Comment #3
berdirWe can move this issue over.
Points is a required argument and even if we could improve the check, that module probably still needs to be updated.
Comment #4
berdirComment #5
socialnicheguru commentedThis is also a problem in d6. should I open up a similar issue for d6?
notice: Undefined index: points in userpoints_userpointsapi() (line 593 of /var/aegir/platforms/Modules_Directory/contrib-core-1/userpoints/userpoints.module)
Comment #6
berdirYou could do that (for the Userpoints project). But ultimately, this is a bug in this project and needs to be fixed here.
Comment #7
codesidekick commentedHi all,
The following patch fixes this error for the 6.x version by defining points as a part of the param array at the start of hook_user. Same method will probably work with 7.x if somebody wants to upload a patch.
thanks
Comment #8
ezra-g commentedMarking as "needs review".