Error message in Points Settings if Kudos content type not set
wotstheguts - February 26, 2008 - 22:46
| Project: | Kudos |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Jump to:
Description
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.

#1
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.
#2
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...
#3