- Issue created by @boinkster
When editing a view and adding a new Simple Math field, the Views modal dialog fails. Existing and populated fields don't cause errors. Not sure when this started,
A work around: right click the field and open the dialog in a new tab. Then you can edit the field and the error will stop in the main Views UI
On my local, with error reporting turned on, the dialog on the new tab showed:
Warning: Trying to access array offset on value of type null in /var/www/html/web/modules/contrib/views_simple_math_field/src/Plugin/views/field/SimpleMathField.php on line 116
Warning: Trying to access array offset on value of type null in /var/www/html/web/modules/contrib/views_simple_math_field/src/Plugin/views/field/SimpleMathField.php on line 122
Warning: foreach() argument must be of type array|object, null given in /var/www/html/web/core/lib/Drupal/Core/Render/Element/Checkboxes.php on line 113
Active
3.0
Code