Some of those errors appearing when logging are generally related to a problem wp-config.php file. Have changes been made to that file ? If so you may want to consider restoring that to default.
Question – did these errors and the other errors only appear after updating to PHP 8.0 ?