Closed (fixed)
Project:
Rate
Version:
3.0.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Oct 2023 at 09:27 UTC
Updated:
20 Jan 2025 at 07:27 UTC
Jump to comment: Most recent
Getting following error when adding widget to a view
ErrorException: Warning: Undefined array key "entity_type" in Drupal\rate\Plugin\views\field\RateWidgetField->buildOptionsForm() (linea 49 de /var/www/html/web/modules/contrib/rate/src/Plugin/views/field/RateWidgetField.php).
Drupal Version: 9.4.x
Rate Module version: 3.0.x
PHP: 8.0
Use isset() to validate if $field_name['entity_type'] was setted
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
rokkayComment #3
shreya_th commentedComment #5
shreya_th commentedComment #6
viren18febs commentedComment #8
jordik commentedThank you for the patch! Committed to 3.0.x-dev.