Hello,

when I delete a Node I have this issue:
Notice: Undefined variable: ids in _votingapi_delete_cache_by_entity() (line 619 of /home/wealthy/wcity-test/sites/all/modules/votingapi/votingapi.module).

Any Idea? Many thanks in advanced..

Frank

Comments

wimberb’s picture

I'm getting the same error but not when deleting a node. Well, maybe then too but I haven't deleted one to test it. I get the error when editing certain nodes and in some cases when viewing unpublished nodes. The content types for these nodes do not have any voting fields in them so I'm not sure why Voting API even has an issue with them.

The errors started immediately after updating to the latest version (Oct-08). There were no errors prior to the latest update.

torotil’s picture

Assigned: Unassigned » torotil
torotil’s picture

Status: Active » Fixed

Thanks for your report. A fix is already in 7.x-2.x ( http://drupalcode.org/project/votingapi.git/commit/bc184dc ). I'm also tagging a hotfix release within the next few hours.

wimberb’s picture

That seems to have cleared it up. Thanks for the quick response and the fix.

fraweg’s picture

Thanks for your fast support. This patch fix it!

Best regards
Frank

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.