PHP 8 compatibility issue
Needs review
Code
The issue particularly affects sites running on PHP version 8.1.0 or later.