Hi,
I ran cron update, when I got this error:
warning: min() [function.min]: Array must contain at least one element in /home/newmill/public_html/sites/all/modules/user_karma/user_karma.module on line 396.
Please help.
Hanly
Hi,
I ran cron update, when I got this error:
warning: min() [function.min]: Array must contain at least one element in /home/newmill/public_html/sites/all/modules/user_karma/user_karma.module on line 396.
Please help.
Hanly
Comments
Comment #1
mercmobily commentedHi,
I fixed this in the development branch of the module.
However, this really shoudln't happen. The warning tells me that you haven't activated any calculation plugins. This means that no karma will ever be awarded.
See step 3a:
3a. Enable the plugin modules. They will add functionality to
the otherwise useless module :-D The plugins will assign karma for
specific events (somebody votes on his/her comment, etc.).
Bye!
Merc.
Comment #2
shooommmm commentedHi Merc,
What is the pulgins ? Where can I enable it ?
Thanks,
Hanly
Comment #3
mercmobily commentedHi,
The plugins should be in Admin -> Build -> Modules : then look into the "karma" thing.
However, it looks like I was wrong and there was indeed a bug.
I fixed it in the DRUPAL-5 branch are you able to get it? Or shall I release a new version of the module?
(I'd love you to test it first...)
Merc.
Comment #4
shooommmm commentedHi merc,
Where is the link to the updated user karma ? Can you email it to me :
hanlylim (at) gmail (dot) com
Cheers,
Hanly
Comment #5
mercmobily commentedHi,
DOne :-D
Merc.
Comment #6
shooommmm commentedHi Merc,
Sorry but I still get the same error msg:
warning: min() [function.min]: Array must contain at least one element in /home/newmill/public_html/sites/all/modules/user_karma/user_karma.module on line 396.
Don't know why ? I did download the latest version of user_karma.
Thanks,
Hanly
Comment #7
mercmobily commentedHi,
Are you getting the same error using the DRUPAL-5 branch?
Merc.
Comment #8
mercmobily commentedHi,
Closed. Submitter disappeared, and was using an old version of Drigg.
Merc.