each has been removed from php 8.0.
Removing each and replaces it by an equivalent.
Active
1.0
Code
The issue particularly affects sites running on PHP version 8.0.0 or later.