I tried updating from 2.6 - 2.9. I have voting enabled on comments and tried deleting a comment that had votes on it. After clicking the confirm/delete button I got the following fatal error.
"PHP Fatal error: Class name must be a valid object or a string in ..../drupal/includes/common.inc on line 7686, referer: ...../comment/535528/delete"
Also, the comment was not deleted. I reverted to 2.6 and do not get this error.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 1815656-3-deleting-comments-votes-entity-data.patch | 712 bytes | ccamporeale |
Comments
Comment #1
torotil commentedComment #2
torotil commentedI failed to reproduce your error, so I need a little bit more information:
What voting module (and version) are you using?
Comment #3
ccamporeale commentedI'm using 2.9 and have the same issue in conjunction with voting_rules-7.x-1.0-alpha1.
I applied the changes referenced here: http://drupal.org/node/1810836#comment-6624482, but this did not seem to have an effect.
The attached patch solved my issue, but I feel like I may be missing something obvious.
Comment #4
jojonaloha commentedI'm using http://drupal.org/project/rate 7.x-1.4 which I had just updated from 7.x-1.3
Comment #5
torotil commentedThanks ccamporeale for pointing me in the right direction with your patch. I just commited a fix to 7.x-2.x.
Please try if the bug is fixed for you in the current dev version.
Comment #6
mermemladeK commentedSame problem here but when deleting nodes, not comments.
Could you tell me how to update Voting API to a dev release without having to uninstall and disable modules?
Or maybe I can just apply the patch above?
Thank you