Skip to content

PHP 8.1.10 compatibility #53

@aksm

Description

@aksm

What?

This is a macro issue for tracking problems related to PHP 8.1.10:

  • Passing null to string type parameter is deprecated:

    Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in Drupal\format_strawberryfield\Plugin\Field\FieldFormatter\StrawberryWarcFormatter->viewElements() (line 146 of modules/contrib/format_strawberryfield/src/Plugin/Field/FieldFormatter/StrawberryWarcFormatter.php).
    
    Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in Drupal\format_strawberryfield\Plugin\Field\FieldFormatter\StrawberryWarcFormatter->viewElements() (line 150 of modules/contrib/format_strawberryfield/src/Plugin/Field/FieldFormatter/StrawberryWarcFormatter.php).
    
  • External Drupal bug referenced here:

    Deprecated function: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\Component\Utility\Html::escape() (line 424 of core/lib/Drupal/Component/Utility/Html.php).
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    esmero-phpAll that goes into the PHP container

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions