• Resolved rakehurst

    (@rakehurst)


    Running PHP version 7.2 on Google Cloud Flexible environment. After setting up the plugin, all pages return a 500 error. With debug mode enabled, it reveals the following error message:

    Fatal error: Uncaught TypeError: Argument 2 passed to Google\Auth\CredentialsLoader::makeCredentials() must be of the type array, object given, called in /app/wordpress/wp-content/plugins/wp-stateless/lib/Google/src/Google/Client.php on line 1027 and defined in /app/vendor/google/auth/src/CredentialsLoader.php:115 Stack trace: #0 /app/wordpress/wp-content/plugins/wp-stateless/lib/Google/src/Google/Client.php(1027): Google\Auth\CredentialsLoader::makeCredentials('https://www.goo...', Object(GuzzleHttp\Psr7\Stream)) #1 /app/wordpress/wp-content/plugins/wp-stateless/lib/Google/src/Google/Client.php(347): Google_Client->createApplicationDefaultCredentials() #2 /app/wordpress/wp-content/plugins/wp-stateless/lib/Google/src/Google/Client.php(756): Google_Client->authorize() #3 /app/wordpress/wp-content/plugins/wp-stateless/lib/Google/src/Google/Service/Resource.php(232): Google_Client->execute(Object(GuzzleHttp\Psr7\Request), 'Google_Service_...') #4 /app/wordpress/wp-content/plugins/wp-stateless/lib/Google/src/Google/Service/St in /app/vendor/google/auth/src/CredentialsLoader.php on line 115

Viewing 1 replies (of 1 total)
  • The error is happening because part of the library is loading from /app/vendor/google/auth/src/CredentialsLoader.php. Both version isn’t same so the error is happening.
    Is it possible to disable /app/vendor/google/auth?

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error after initial setup’ is closed to new replies.