Got this error when trying to create a views filter Plugin:
Notice: Undefined variable: groups in Drupal\views\Plugin\views\filter\FilterPluginBase->groupForm() (line 761 of core/modules/views/src/Plugin/views/filter/FilterPluginBase.php).
FilterPluginBase::groupForm()
initializes $groups
in a conditional that may not always be true and then uses it outside that conditional.
Beta phase evaluation
Issue category | Bug because PHP notice |
---|---|
Unfrozen changes | Unfrozen because it only changes code to not throw a PHP notice under certain conditions. |