Non-existent service "file_url_generator"

Created on 16 January 2023, over 1 year ago
Updated 1 May 2023, about 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.69.0 2024