Non-existent service "file_url_generator"

Created on 16 January 2023, almost 2 years ago
Updated 1 May 2023, over 1 year ago

Problem/Motivation

Fatal error on D8 after updating gin_login from 1.2 to 1.3

Uncaught PHP Exception Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: "You have requested a non-existent service "file_url_generator". Did you mean this: "url_generator"?"

Proposed resolution

Check on service if (\Drupal::hasService('file_url_generator')) {}

πŸ› Bug report
Status

Closed: won't fix

Version

1.3

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium matthiaso Leuven

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