There was a problem after updating PHP version to 8.1

Deprecated function: Return type of Drupal\lazyloader\ResponsiveImage::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of modules/contrib/lazyloader/src/ResponsiveImage.php).

Deprecated function: Return type of Drupal\lazyloader\ResponsiveImage::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 10 of modules/contrib/lazyloader/src/ResponsiveImage.php).

CommentFileSizeAuthor
#2 3341847-2.patch737 bytesmero.s

Comments

mero.S created an issue. See original summary.

mero.s’s picture

StatusFileSize
new737 bytes

Please review this patch.

mero.s’s picture

Status: Active » Needs review