TypeError in Blazybase.php

Created on 25 June 2024, 6 months ago
Updated 14 August 2024, 4 months ago

Problem/Motivation

Upon upgrading to the new version from 2.x, received the following on page load:

TypeError: Drupal\blazy\BlazyBase::__construct(): Argument #1 ($libraries) must be of type Drupal\blazy\Asset\LibrariesInterface, string given, called in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 261 in Drupal\blazy\BlazyBase->__construct() (line 118 of modules/contrib/blazy/src/BlazyBase.php). 

Verbose error report here: https://pastebin.com/Ku73tSF6

Steps to reproduce

Upgrading a site from drupal 9.x to 10.3, updated drupal/blazy, drupal/slick, and drupal/slick_views from ^2.0 to ^3.0 via composer
Specific versions: Blazy: 2.27.0 => 3.0.9, Slick: 2.11.0=> 3.0.2, Slick_views: 2.8.0 => 3.0.2

💬 Support request
Status

Fixed

Version

3.0

Component

Documentation

Created by

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

Comments & Activities

Production build 0.71.5 2024