Posted by Juryiel on October 27, 2009 at 5:42am
Jump to:
| Project: | Points Voting Recommender |
| Version: | 6.x-1.0-beta1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | danithaca |
| Status: | needs work |
Issue Summary
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
#1
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 :(
#2
I think it could be the wrong project
#3
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.
#4
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.
#5
ok. i'll take a look.
#6
Having the same issue ):