Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Trying to run some code based on a field with there user id


Tosh
Participant

@xberserker

@r-a-y Thanks for that! :) Getting some errors.

This shows in the admin

Warning: Invalid argument supplied for foreach() in /home/me/public_html/mysite/wp-content/plugins/cubepoints-buddypress-integration/cubepointsBP.php on line 74

This shows on the front end when I go to the activity page

Warning: Invalid argument supplied for foreach() in /home/me/public_html/mysite/wp-content/plugins/cubepoints-buddypress-integration/cubepointsBP.php on line 74

Line 74 is:
foreach ( $bpcpspamlist as $spammer_id ) {

This is what I put in.

http://pastebin.com/5qDXuCvv

Skip to toolbar