Cannot use object of type WP_Error as array

I just installed the Patreon WordPress plugin, and after entering my client credentials in the Patreon configuration page, it crashes the website. I get this error in my Apache error logs:

PHP Fatal error:  Cannot use object of type WP_Error as array in /var/www/sites/www.arnemancy.com/wp-content/plugins/patreon-connect/classes/patreon_api.php on line 44, referer: https://arnemancy.com/wp-admin/plugin-install.php?s=Patreon&tab=search&type=term

The only way to get my site back is to log in and delete the plugin manually. Kind of a pain. I assume I entered the client credentials wrong, but it’s hard to say when the error reporting creates a fatal error.

Wrong credentials shouldnt result in a WP error.

Is it possible that your host or config prevents wordpress from contacting the API? Due to not having curl, or not letting fallback means of retrieval?

Or, maybe in your host the connectivity is hampered or blocked - server firewall or other means. Or, your security plugin even, if you are using one.