I installed the VotingApi, and now I get this error message
warning: Invalid argument supplied for foreach() in ...votingapi_views.inc on line 8.
warning: Invalid argument supplied for foreach() in ...votingapi_views.inc on line 107.

Anyone know what this is about and how to fix it?

Am using Droupal release 5.1
I have views installed and activated.
The error shows up on the administrators module page when I activate the votingapi modual.

Comments

jo1ene’s picture

Priority: Minor » Critical

I can confirm this.

I was having other problems with VAPI and Views and went for a clean insatll when I ran into this. I installed the Voting API first, then went to install Views and it tripped this error.

drupalgirl’s picture

When you say it "tripped" the error after fresh module installs are you saying it resolved the error problem or made it worse? Thanks.

jo1ene’s picture

I was having other problems realted to VotingAPI and Views. I could not get the fields to show up in Views. (Another issue, I know...) I know it once worked, but I updated or something and lost it. So I tired to do a clean install. As I said. I installed Voting API first, then Views, now this error.

Since then I have installed other modules and also got the same error.

eaton’s picture

Status: Active » Closed (won't fix)

Support for the 5.x branch of VotingAPI has ended with the release of Drupal 7 and the upcoming release of VotingAPI 7.x-2.4.