Usage of PHP's each() function has been deprecated as of PHP 7.2. This is used a few times in apachesolr.index.inc. We should be able to replace its usage with either foreach() or other alternatives.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bkosborne created an issue. See original summary.

oadaeh’s picture

Attached is a patch that addresses this.

janusman’s picture

Status: Needs review » Reviewed & tested by the community

RTBC

  • oadaeh authored 1fe5c17 on 7.x-1.x
    Issue #2946579 by oadaeh: Remove usage of deprecrated each() function...
janusman’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.