Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293320

Undefined variable: groups in Drupal\views\Plugin\views\filter\FilterPluginBase->groupForm()

$
0
0

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

Reference: https://www.drupal.org/core/beta-changes
Issue categoryBug because PHP notice
Unfrozen changesUnfrozen because it only changes code to not throw a PHP notice under certain conditions.

Viewing all articles
Browse latest Browse all 293320

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>