Title: Fatal error after initial setup
Last modified: May 3, 2018

---

# Fatal error after initial setup

 *  Resolved [rakehurst](https://wordpress.org/support/users/rakehurst/)
 * (@rakehurst)
 * [8 years ago](https://wordpress.org/support/topic/fatal-error-after-initial-setup/)
 * 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)

 *  [Alimuzzaman Alim](https://wordpress.org/support/users/alimuzzamanalim/)
 * (@alimuzzamanalim)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/fatal-error-after-initial-setup/#post-10261578)
 * 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.

 * ![](https://ps.w.org/wp-stateless/assets/icon.svg?rev=1715943)
 * [WP-Stateless - Google Cloud Storage](https://wordpress.org/plugins/wp-stateless/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-stateless/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-stateless/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-stateless/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-stateless/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-stateless/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Alimuzzaman Alim](https://wordpress.org/support/users/alimuzzamanalim/)
 * Last activity: [7 years, 12 months ago](https://wordpress.org/support/topic/fatal-error-after-initial-setup/#post-10261578)
 * Status: resolved