Closed (fixed)
Project:
Voting Rules
Version:
7.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Sep 2011 at 18:36 UTC
Updated:
2 Dec 2018 at 03:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Shadlington commentedI also see this message after installing the module. I installed the absolute latest version direct from git.
Comment #2
jsheller commentedUnfortunately I get the same error message after activating the module. I installed 7.x-1.0-alpha1.
Comment #3
adam_b commented+1 - same for me, six months later...
Comment #4
chriz001 commentedI think this might be because the function voting_rules_get_types assumes you have node, user, comment and entity types, however if you dont have all of those enabled (i have comments disabled) then when it calls voting_rules_rules_data_info_alter it creates part of the data for those arrays wether they exist already or not.
Comment #5
chriz001 commentedHere is a patch that will check if it should alter the data for those entities. cleans up a bit of whitespace too.
Comment #6
chriz001 commentedupdate status
Comment #7
henrijs.seso commentedPatch works, but should be re-rolled for dev version (if patch applies cleanly to dev version, then version should be changed and RTBC status applied).
Comment #8
miteshmapHere's the patch worked for 7.x-1.x dev version.
Comment #9
miteshmaphttps://www.drupal.org/node/1269362#comment-7586187 Patch submitted by @chriz001 works fine with 7.x-1.x, changing it to RTBC.
Comment #11
bluegeek9 commented