PHP 8 compatibility: Call to undefined function each()

Created on 19 October 2022, over 1 year ago
Updated 26 January 2023, over 1 year ago

Problem/Motivation

Module returns error
Error: Call to undefined function each() in page_manager_cache_lifetime_page_manager_variant_operations_alter() (line 27 of /var/www/html/web/sites/all/modules/contrib/page_manager_cache_lifetime/page_manager_cache_lifetime.module)

Steps to reproduce

Install the module on the environment with PHP 8 and go to the Edit page of any of the pages on admin/structure/pages/edit page.

Proposed resolution

Update code.

πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine akozoriz

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