[PHP 8] Deprecation messages when viewing template list

Created on 16 November 2022, about 2 years ago
Updated 18 August 2023, over 1 year ago

Problem/Motivation

Deprecated function: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in Drupal\views_templates\Plugin\ViewsDuplicateBuilderBase->replaceTemplateKeyAndValues() (line 209 of /var/www/html/web/modules/contrib/views_templates/src/Plugin/ViewsDuplicateBuilderBase.php)

Steps to reproduce

Install the Calendar module (which provides some templates). Visit /admin/structure/views/template/list

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

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

    The issue particularly affects sites running on PHP version 8.0.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