Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
wimberb CreditAttribution: wimberb commentedI'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.
Comment #2
torotil CreditAttribution: torotil commentedComment #3
torotil CreditAttribution: torotil commentedThanks 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.
Comment #4
wimberb CreditAttribution: wimberb commentedThat seems to have cleared it up. Thanks for the quick response and the fix.
Comment #5
fraweg CreditAttribution: fraweg commentedThanks for your fast support. This patch fix it!
Best regards
Frank