- Issue created by @ivnish
- Merge request !9Issue #3505503 by ivnish: Can not unvote after update voting_api to 4.x → (Open) created by ivnish
After update voting_api to 4.x I can't unvote my votes. I get:
TypeError: Drupal\votingapi\VoteResultFunctionManager::recalculateResults(): Argument #3 ($vote_type) must be of type string, null given, called in /var/www/web/modules/contrib/votingapi_reaction/src/VotingApiReactionManager.php on line 223 в Drupal\votingapi\VoteResultFunctionManager->recalculateResults() (строка 117 из /var/www/web/modules/contrib/votingapi/src/VoteResultFunctionManager.php)
Update voting_api to 4.x on existing site. Try to unvote any vote.
Update the code. This works both voting_api 3.x and 4.x
Active
1.0
Code