Despite it seems to work using thumb up/down rating prduces following messages in my system log:
The first message I got 6 times (I think it was produce by viewing the page)
Warning: Division by zero in template_preprocess_rate_template_thumbs_up_down() (line 267 of modules/rate/rate.module)
The second one only 3 times, maybe only after licking the rating link
Warning: array_flip(): Can only flip STRING and INTEGER values! in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 227 of /core/lib/Drupal/Core/Entity/EntityStorageBase.php) #0 /core/includes/bootstrap.inc(548): _drupal_error_handler_real(2, 'array_flip(): C...', '/medjxcwh/drupa...', 227, Array)
Comment | File | Size | Author |
---|---|---|---|
#2 | warnings_at_thumb_up_down_rating-2834501-2.patch | 892 bytes | alex_optim |
Comments
Comment #2
alex_optimFixed and create patch.
Comment #3
krina.addweb CreditAttribution: krina.addweb at AddWeb Solution Pvt. Ltd. commented@alex_optim,Thanks! for the patch it works for me.
Comment #4
krina.addweb CreditAttribution: krina.addweb at AddWeb Solution Pvt. Ltd. commentedComment #6
brenk28 CreditAttribution: brenk28 commentedPatch committed, thanks!