- Issue created by @anish.a
- Merge request !8Issue #3496029: Null parameter warning when using php8.1+ β (Open) created by anish.a
- πΈπ¬Singapore anish.a Singapore
Adding the fix. Empty string instead of NULL fixes the warning.
The below warning is showing when I put an empty string in conditional filter and selecting contained key.
Deprecated function: mb_stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in Drupal\views_conditional\Plugin\views\field\ViewsConditionalField->render() (line 427 of modules/contrib/views_conditional/src/Plugin/views/field/ViewsConditionalField.php).
Active
1.0
Code
Adding the fix. Empty string instead of NULL fixes the warning.