So if I enable the 'alternate' widget, copy the link for +1, paste it in the address bar, and replace the /1/ with /-1/ with everything else being the same, the node then gives the following error whenever I view it.

Is there some way to prevent this?

warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\Apps\Apache Software Foundation\Apache2.2\htdocs\drupal6\sites\all\modules\voting_rec\voting_rec.module on line 138.

Comments

Juryiel’s picture

Also, if someone can let me know how to get rid of that error that would be great :) Seems like it's an error with the recommender module based on the data that was put into the database. I tried uninstalling the recommender modules and the Vote modules but the error comes back when I re-enable them :(

marvil07’s picture

Project: Vote Up/Down » Points Voting Recommender
Version: 6.x-2.x-dev » 6.x-1.0-beta1

I think it could be the wrong project

danithaca’s picture

This is probably a dependency breakdown between VoteUpDown and voting_rec.
Please let me know the version of vote_up_down that causes the problem.

Juryiel’s picture

I currently have 6.x.2-dev installed, but this dev branch is the version that was out at the time I posted this, as now version 6.x.2-dev seems to have been updated. Further, I think originally I had another vote UP/DOWN (the non-dev version at the time) installed and that's what caused the original problem, so I updated that to the dev version in hopes that the problem would go away, although it didn't. I'm sorry that I can't be more helpful, but it's been a while and I forgot :( I suppose one way to go about it is to get the latest version and see if the problem is still there.

danithaca’s picture

Assigned: Unassigned » danithaca
Status: Active » Needs work

ok. i'll take a look.

jacobpov’s picture

Having the same issue ):