Too few arguments to function Drupal\tinypng\TinyPng::__construct()

Created on 27 July 2022, almost 2 years ago
Updated 5 January 2024, 6 months ago

I have Drupal version 8.9.13. I just upgraded the module to 8.x-1.2. I'm getting the error

ArgumentCountError: Too few arguments to function Drupal\tinypng\TinyPng::__construct(), 2 passed in */core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 and exactly 3 expected in Drupal\tinypng\TinyPng->__construct() (line 74 of */modules/contrib/tinypng/src/TinyPng.php)

I think it's to do with the FileUrlGeneratorInterface class missing. Is that a class that's only in Drupal 9? I'm using Drupal 8 and can't upgrade for a while yet.

πŸ› Bug report
Status

Closed: outdated

Version

1.2

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom tce

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