Hi, this is just a minor, but with the Kudos Userpoints module installed, if you go into Points Settings before configuring a Kudo, you get an error message:

warning: Invalid argument supplied for foreach() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test\modules\kudos\contrib\kudos_userpoints\kudos_userpoints.module on line 22.

Obviously it goes away after setting up a Kudo.

Cheers,
Peter.

Comments

SpriteGF’s picture

Seconded. I also get this error message (at line 24 in kudos_userpoints3.module) until I choose a content type under the "Allowable content types for kudos:" list box.

anawillem’s picture

not me. using 5.x. configured kudos, and then points, and still get error:
warning: Invalid argument supplied for foreach() in /home/members/schr/sites/intranet.schr.org/web/sites/default/modules/kudos/contrib/kudos_userpoints/kudos_userpoints.module on line 24.

any suggestions? i assigned allowable content types, etc. tried all and then just one...

socki’s picture

Status: Active » Postponed