str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in ProcessedText::preRenderText()

Created on 8 September 2022, about 2 years ago
Updated 16 March 2023, over 1 year ago

If we create a Multichoice question and leave the "Feedback if chosen" text empty and we submit the quiz result we got the following error:

Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in Drupal\filter\Element\ProcessedText::preRenderText() (line 101 of core/modules/filter/src/Element/ProcessedText.php).

๐Ÿ› Bug report
Status

Fixed

Version

6.0

Component

Code - Multichoice

Created by

๐Ÿ‡ง๐Ÿ‡ฌBulgaria rhristov

Live updates comments and jobs are added and updated live.
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