Posted by rjbrown99 on July 6, 2009 at 8:06pm
Jump to:
| Project: | Similarity Objects |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I haven't seen this reported, but upon every cron run I see the following message in my Drupal log:
Invalid argument supplied for foreach() in /var/www/html/gochicorgohome.com/sites/all/modules/similarity/similarity.module on line 479.
Here's the code at that point:
/**
* Implementation of hook_cron().
*/
function similarity_cron() {
$all = similarity_all_similarities(TRUE);
foreach($all as $sim_obj) {
$sim_obj->calculate();
}
}
Comments
#1
Same, I'm dropping this module... and this functionality because this is the only module that sounded like it was going to do it properly.
:( sadface
I really hope you re-look this, sounded promising, but it dosen't look like its in dev any more. I wish I knew PHP enough to help.