I found the solution!
First: if you are making something and need to deactivate a working WPCandy for some reason, don't do it! (but if you came here, something was messed up...). If you did so, activate it again.
The WPCandy creates and maintains a nem table in the mySQL database: wp-wpcandy. When you activates it, the table is created. When you deactivate the plugin, the table is dropped. For some reason WP 2.5 don't let it create this table again after the deactivation. The foreach error is a 'i can't find anything in the table' error, 'cause there is no table at all!
The solution is manually create a new empty table. You will need some SQL admin or a SQL console to send a SQL command like this:
CREATE TABLE wp_wpcandy
id INT NOT NULL AUTO_INCREMENT,
anchor TINYTEXT NOT NULL,
position TINYTEXT NOT NULL,
I got this one from the WPCandy code, but used a MySQLAdmin from my BlueHost cpanel.
After you created the table, the WPCandy will work again, and the foreach error will dissapear when you creates a new candy.
I hope this help! It worked for me!
Chack at http://www.technewsbr.com