Issue #2596281 by jaxxed, DigitalFrontiersMedia, mattlt: PHP errors and warnings for latest PHP 8.x-1.x code