When updating PHP version to 8.1, there are problems with calling functions.

Created on 15 February 2023, almost 2 years ago

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).

πŸ› Bug report
Status

Needs review

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine mero.S

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

Comments & Activities

Production build 0.71.5 2024