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

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

solideogloria created an issue. See original summary.

solideogloria’s picture

Issue tags: +PHP 8.0

solideogloria’s picture

Status: Active » Needs review

This fixes the issue.

nicxvan’s picture

Provide credit for duplicate issue work: https://www.drupal.org/project/views_templates/issues/3341588

nicxvan’s picture

Provide credit for duplicate issue work: https://www.drupal.org/project/views_templates/issues/3358749

lmoeni’s picture

Status: Needs review » Reviewed & tested by the community

The merge request looks good. Just needs to be rebased.

nicxvan credited Austin986.

nicxvan’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

nicxvan’s picture