Error: Call to undefined method Drupal\Core\GeneratedUrl::toString()

Created on 13 December 2024, 5 days ago

Problem/Motivation

I'm getting the following error when relying on nodes where Linkit is being used to reference media items.

Error: Call to undefined method Drupal\Core\GeneratedUrl::toString() in Drupal\linkit\Plugin\Filter\LinkitFilter->process() (line 156 of modules/contrib/linkit/src/Plugin/Filter/LinkitFilter.php).

Steps to reproduce

I'm trying this on a clean Drupal 10.3.10 installation, with Linkit 7.0.0 and the latest dev copy of Media Entity File Redirect.

This error only appears when I have the Media: File Redirect matcher set to "URL that redirects to file path". Any other substitution setting, and the nodes render fine.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada delajed

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

Comments & Activities

Production build 0.71.5 2024