PHP errors in logs patreon_oauth.php

I’m seeing this in the logs very frequently of late:

Patreon_Wordpress::getPatreonCreatorInfo()\n#3 /nas/content/live/raptorsrepubli/wp-content/plugins/patreon-connect/classes/patreon_wordpress.php(192): Patreon_Wordpress::getPatreonCreatorURL()\n#4 [internal function]: Patreon_Wordpress::checkPatreonCreatorURL(’’)\n#5 /nas/content/live/raptorsrepubli/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array)\n#6 /nas/content/live/raptorsrepubli/wp-includes/class-wp in /nas/content/live/raptorsrepubli/wp-content/plugins/patreon-connect/classes/patreon_oauth.php on line 46

It’s the return statement:

	private function __update_token($params) {
		
		$api_endpoint = "https://api.patreon.com/oauth2/token";
	
		$api_request = array(
			'method' => 'POST',
			'body' => $params,
		);

		$response = wp_remote_post( $api_endpoint, $api_request );

		return json_decode($response['body'], true);

	}

Can we add some error checking so it is more stable?

Try out 1.2.0 beta that was posted in the forum. That may make that issue go away.

Thank you. Will try that.