سلام.
من برای چندین وبلاگ sitemap generator رو نصب کردم و مشکلی نداشت. ولی این بار که نصبش کردم build رو که زدم این خطا رو داد:
# There was a problem while notifying Google. View result
# There was a problem while notifying Bing. View result
# There was a problem while notifying Ask.com. View result
این هم View result -ش است:
Ping Test
Trying to ping: http://www.google.com/webmasters/sitemaps/ping?sitemap=http%3A%2F%2Fwww.khorshidvash.com%2Fsitemap.xml.gz. The sections below should give you an idea whats going on.
Errors, Warnings, Notices:
WP_DEBUG was set to false somewhere before. You might not see all debug information until you remove this declaration!
Notice: WP HTTP API Web Request failed: name lookup timed out in /var/www/vhosts/khorshidvash.com/httpdocs/wp-content/plugins/google-sitemap-generator/sitemap-core.php on line 2364
Result (text only):
Result (HTML):
خط 2364 از فایل sitemap-core.php اینه:
trigger_error('WP HTTP API Web Request failed: ' . $errs,E_USER_NOTICE);
چند خط پیش و بعدش هم اینه:
} else {
$options = array();
$options['timeout'] = $timeout;
if($method == 'get') {
$response = wp_remote_get( $url, $options );
} else {
$response = wp_remote_post($url, array_merge($options,array('body'=>$postData)));
}
if ( is_wp_error( $response ) ) {
$errs = $response->get_error_messages();
$errs = htmlspecialchars(implode('; ', $errs));
trigger_error('WP HTTP API Web Request failed: ' . $errs,E_USER_NOTICE);
return false;
}
return $response['body'];
}
چهکار کنم؟