Voting_API seems to crash...it'll work on the site and then it'll stop working. And when it stops working, it causes the Views with that Voting API in to show blank views. I then go to edit the View to see what is going on and the Voting API fields saved in the View show as blank and when you look at the list of available fields to add, all the Voting API fields are not listed.
I leave the site for a while....come back....and the views work and fields are back in the list of fields to add.
....and then it'll crash again.
I looked in the log and there is a message that reads, "Illegal choice votingapi_vote_vote_percent.uid in field element"
Comments
Comment #1
mdowsett commented...there is this error as well:
Comment #2
mdowsett commentedattached is a screenshot of the missing View field (that is supposed to be a VotingAPI field). They come and go without any changes to the site...I've never seen this happen with a module before.
Comment #3
deviantintegral commentedI'm going to take a stab that the problem is this:
AND (node.type IN ('image')) ORDER BY DESCI don't think that's valid; it probably needs to be something like this:
AND (node.type IN ('image')) ORDER BY <some database column> DESCYou can print a debug_backtrace() call on a testing copy right before line 172 in database.mysql.inc to determine what function is causing the problem: http://ca.php.net/debug_backtrace
Comment #4
mdowsett commentedI don't understand a thing on the php.net page you gave me...sorry.
I wouldn't know what command to run and where...
Comment #5
add1sun commentedWe had the same problem. This issue seems to be a duplicate of #189311: votingapi_views.inc included in wrong place though.