Fatal error: Declaration of Drupal\consent_support_url_embed\Plugin\Filter\CsUrlEmbedFilter::replaceNodeContent

Created on 6 February 2024, 9 months ago
Updated 4 March 2024, 9 months ago

Problem/Motivation

Fatal error: Declaration of Drupal\consent_support_url_embed\Plugin\Filter\CsUrlEmbedFilter::replaceNodeContent(DOMNode &$node, string $content): void must be compatible with Drupal\url_embed\Plugin\Filter\UrlEmbedFilter::replaceNodeConte
  nt(DOMNode $node, string $content): void in /var/www/html/web/modules/contrib/consent_support/modules/consent_support_url_embed/src/Plugin/Filter/CsUrlEmbedFilter.php on line 74

The method has changed in https://git.drupalcode.org/project/embed/-/commit/d310bb05d056e4ee46daac...

Steps to reproduce

Open the site and go to add a node of any type.

Proposed resolution

Update the function to be compatible with url_embed -> embed

Remaining tasks

Review patch

User interface changes

-

API changes

-

Data model changes

-

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium tim-diels Belgium 🇧🇪

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024