Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
After upgrading from 5.0.0 to 6.0.0@alpha-1
TypeError: Drupal\advagg_mod\Asset\TranslateCss::__construct(): Argument #2 ($file_url_generator) must be of type Drupal\Core\File\FileUrlGeneratorInterface, Drupal\Core\Config\ConfigFactory given, called in ../core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\advagg_mod\Asset\TranslateCss->__construct() (line 28 of .../modules/contrib/advagg/advagg_mod/src/Asset/TranslateCss.php)
stack:
Drupal 9.5.2
Nginx 1.22.1
PHP 8.1.12
MySQL 8.0.29
Comments
Comment #2
bonfil1 CreditAttribution: bonfil1 as a volunteer commentedThis issue was solved on my end by just clearing caches after upgrading.