Deprecated Function after Upgrading to PHP 8.1

Created on 20 December 2022, over 1 year ago
Updated 26 September 2023, 9 months ago

Problem/Motivation

After upgrading to PHP 8.1.13 I get the following error message

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

πŸ› Bug report
Status

Closed: works as designed

Component

Rules Core

Created by

πŸ‡ΊπŸ‡ΈUnited States maranop

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