Getting PHP errors: Deprecated function: mb_strlen()

Created on 16 July 2023, over 1 year ago
Updated 17 December 2023, about 1 year ago

Problem/Motivation

I get the gollowing error when viewing an entity using this formatter

Deprecated function: mb_strlen(): Passing null to parameter #1 ($string) of type string is deprecated in template_preprocess_image_formatter_link_to_image_style_formatter() (line 40 of modules/contrib/image_formatter_link_to_image_style/image_formatter_link_to_image_style.field.inc).

Steps to reproduce

In my particular case this is happening when I have an image field on a media entity, then upload and save image media entities with entity_browser.

๐Ÿ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States loze Los Angeles

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024