• 504 Gateway Time-out after updated to 1.5.7

    debug.log
    [06-Jun-2022 06:02:54 UTC] PHP Warning: First parameter must either be an object or the name of an existing class in /var/www/html/wp-content/plugins/pardot/includes/pardot-api-class.php on line 178

Viewing 1 replies (of 1 total)
  • Any update on this issue? I was able to pull this code from the file mentioned in the error. It looks like an issue communicating with Salesforce?

    $url = self::OAUTH_URL;
    	$body = [
    		'grant_type' => 'refresh_token',
    		'client_id' => $this->client_id,
    		'client_secret' => $this->client_secret,
    		'refresh_token' => $this->refresh_token,
    	];
    	$args = [
    		'body' => $body,
    		'timeout' => '5',
    		'redirection' => '5',
    		'httpversion' => '1.0',
    		'blocking' => true,
    		'headers' => ["Content-type: application/json"],
    		'cookies' => [],
    	];
    
    	$response = wp_remote_post($url, $args);
    
    $response = json_decode(wp_remote_retrieve_body($response));
Viewing 1 replies (of 1 total)
  • The topic ‘504 Gateway Time-out after updated to 1.5.7’ is closed to new replies.