PHP Deprecated function: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in Drupal\bynder\Plugin\Field\FieldFormatter\BynderFormatterBase->getAttributesFieldsCandidates()

Created on 23 November 2022, almost 2 years ago
Updated 26 January 2023, almost 2 years ago

Problem/Motivation

I see this error whenever I load the "Manage Display" tab of a Bynder media type:

Deprecated function: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in Drupal\bynder\Plugin\Field\FieldFormatter\BynderFormatterBase->getAttributesFieldsCandidates() (line 137 of modules/local/bynder/src/Plugin/Field/FieldFormatter/BynderFormatterBase.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dave reid Nebraska USA

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024