Replace the copy of whmeasybackup.php in the install directory with this file if you are running PHP 7.4