Remove usage of deprecrated each() function for PHP 7.2+ future proofing

Created on 31 January 2019, over 5 years ago
Updated 14 May 2024, about 2 months ago

The each() function is deprecated as of PHP 7.2.

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΆπŸ‡¦Qatar teknikqa Doha

Live updates comments and jobs are added and updated live.
  • PHP 7.2

    The issue particularly affects sites running on PHP version 7.2.0 or later.

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.

  • πŸ‡¨πŸ‡¦Canada Gib...

    After upgrade to 7.x-2.8 and PHP 8.0, I tried the dev version. Errors on the each() function.
    I manually uploaded the i18n_book_navigation.module to the server and all is fine.
    It took me a few hours to figure this out.

Production build 0.69.0 2024