Received Fatal Error After Importing GA Analytics Json using WP Plugin

I set up the GA importer on a dedicated server without any problems. However, I wanted to test out the WP plugin on a different domain. After following the same steps and authorizing it I saw an error message (see attached). This domain is on a shared hosting account using php 8.0. I have no idea how to fix it.

Line 919 in Client.php file shows, " $logger = new Logger(‘google-api-php-client’);"

Any ideas?

Hi @Escond1do
In your error log file, is the error the same as: