Project:Content Recommendation Engine
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active

Issue Summary

I upgraded to the current development version of CRE and I am no longer receiving any node recommendations at /recommendations. I'm not sure what is wrong. Any ideas?

Comments

#1

are u using percentage or points voting?

#2

I am using points voting with the Vote up/down Package.

#3

Have u downloaded the lastest one (july 5)? The various messages are here: http://drupal.org/project/cvs/66420

#4

Yes, I downloaded the July 5th version. Maybe I need to uninstall and reinstall CRE since I also recently upgraded Drupal from 4.7 to 5.1. Maybe the CRE update failed.

#5

I just found the following error in my logs:

Type php
Date Sunday, July 8, 2007 - 22:54
User Value Investing News
Location http://www.valueinvestingnews.com/recommendations
Referrer http://www.valueinvestingnews.com/node
Message Invalid argument supplied for foreach() in /home/fatpitch/public_html/drupal51/sites/all/modules/cre/recommendation_modules/node_recommendation.module on line 267.
Severity error

Does this mean anything to you? Maybe it is a clue.

#6

ugg! that helps a lot. That is an awful if statement above that line. I will unwind that mess and find where that happens.

#7

do me a favor as well. Goto http://www.valueinvestingnews.com/recommendations/

Where UID is some user ID in the system and see if it works. It should work for some and not for others

#8

#9

I had no luck getting recommendations for any of my users.

#10

Sry fatpitch didnt realize that u responded to this issue. Have you tried the lastest dev?

#11

I did try the latest development version. The /recommendations page is still not working for users but it is working for anonymous users. The weird thing is that the blocks for content type recommendations are working. I'm using them for now.

I might end up removing this module because the cre matrix table has already gone up to 800,000 entries! I believe this is impacting the performance of my site. Why is the size of the matrix growing so long?

#12

I am also getting the following php error in my logs:

Invalid argument supplied for foreach() in /home/fatpitch/public_html/drupal51/modules/cre/cre.module on line 324.

#13

First -- thanks for making this module, it looks very promising!

I am getting the same error though:

warning: Invalid argument supplied for foreach() in C:\wamp\www\drupalsept\modules\cre\cre.module on line 324.

Did somebody find out the reason why?

I am using jRating 5.x-1.0 and 5.x-1.x-dev CRE release

Thanks

#14

Priority:normal» critical

I have the exact same error. Please help fix it.

#15

I'm also experiencing the same error with the latest dev version, has anyone found a solution?

"warning: Invalid argument supplied for foreach() in /var/www/sites/all/modules/cre/cre.module on line 324."