Lehhaa
Участник
Привет всем, поставил скрипт форума - xenforo 2.0.11 на локальном хосте. Через какое то время в админке вылезла ошибка:
Может подсказать кто нибудь в чем дело??
Код:
GuzzleHttp\Exception\ClientException: Error submitting sitemap to https://www.google.com/webmasters/tools/ping?sitemap=http%3A%2F%2Flocalhost%2Fsitemap.php: Client error response [url] https://www.google.com/webmasters/tools/ping?sitemap=http%3A%2F%2Flocalhost%2Fsitemap.php [status code] 400 [reason phrase] Bad Request src\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php:89
Сгенерировано пользователем: Неизвестная учетная запись 28.12.2018 в 05:55
Трассировка стека
#0 src\vendor\guzzlehttp\guzzle\src\Subscriber\HttpError.php(32): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Message\Response))
#1 src\vendor\guzzlehttp\guzzle\src\Event\Emitter.php(108): GuzzleHttp\Subscriber\HttpError->onComplete(Object(GuzzleHttp\Event\CompleteEvent), 'complete')
#2 src\vendor\guzzlehttp\guzzle\src\RequestFsm.php(91): GuzzleHttp\Event\Emitter->emit('complete', Object(GuzzleHttp\Event\CompleteEvent))
#3 src\vendor\guzzlehttp\guzzle\src\RequestFsm.php(132): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))
#4 src\vendor\react\promise\src\FulfilledPromise.php(25): GuzzleHttp\RequestFsm->GuzzleHttp\{closure}(Array)
#5 src\vendor\guzzlehttp\ringphp\src\Future\CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL)
#6 src\vendor\guzzlehttp\guzzle\src\Message\FutureResponse.php(43): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL)
#7 src\vendor\guzzlehttp\guzzle\src\RequestFsm.php(134): GuzzleHttp\Message\FutureResponse:roxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure))
#8 src\vendor\guzzlehttp\guzzle\src\Client.php(165): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))
#9 src\vendor\guzzlehttp\guzzle\src\Client.php(125): GuzzleHttp\Client->send(Object(GuzzleHttp\Message\Request))
#10 src\XF\Sitemap\Builder.php(500): GuzzleHttp\Client->get('https://www.goo...')
#11 src\XF\Sitemap\Builder.php(424): XF\Sitemap\Builder->sendPing()
#12 src\XF\Sitemap\Builder.php(70): XF\Sitemap\Builder->completeBuild()
#13 src\XF\Job\Sitemap.php(25): XF\Sitemap\Builder->build(6.6297352313995)
#14 src\XF\Job\Manager.php(241): XF\Job\Sitemap->run(6.691477060318)
#15 src\XF\Job\Manager.php(187): XF\Job\Manager->runJobInternal(Array, 6.691477060318)
#16 src\XF\Job\Manager.php(76): XF\Job\Manager->runJobEntry(Array, 6.691477060318)
#17 job.php(14): XF\Job\Manager->runQueue(false, 8)
#18 {main}
Код:
Содержимое запроса
array(4) {
["url"] => string(8) "/job.php"
["referrer"] => string(26) "http://localhost/index.php"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Может подсказать кто нибудь в чем дело??