XF 2.2 GuzzleHttp\Exception\ClientException: Error submitting sitemap to

Garfield™

Member
  • GuzzleHttp\Exception\ClientException: Error submitting sitemap to https://www.google.com/webmasters/tools/ping?sitemap=https://ixir.gen.tr/sitemap.php: Client error: GET [URL='https://www.google.com/webmasters/tools/ping?sitemap=https%3A%2F%2Fixir.gen.tr%2Fsitemap.php']https://www.google.com/webmasters/tools/ping?sitemap=https://ixir.gen.tr/sitemap.php[/URL] resulted in a 404 Sitemaps ping is deprecated. See [URL='https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping']Sitemaps ping endpoint is going away | Google Search Central Blog | Google for Developers[/URL]. response: <HTML> <HEAD> <TITLE>Sitemaps ping is deprecated. See https://developers.google.com/search/blog/2023/06/sitemaps-lastmod (truncated...)
  • src/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
Code:
#0 src/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 src/vendor/guzzlehttp/promises/src/Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 src/vendor/guzzlehttp/promises/src/Promise.php(153): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL)
#3 src/vendor/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 src/vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Promise\TaskQueue->run(true)
#5 src/vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 src/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending()
#7 src/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 src/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#9 src/vendor/guzzlehttp/guzzle/src/Client.php(182): GuzzleHttp\Promise\Promise->wait()
#10 src/vendor/guzzlehttp/guzzle/src/Client.php(95): GuzzleHttp\Client->request('get', 'https://www.goo...', Array)
#11 src/XF/Sitemap/Builder.php(515): GuzzleHttp\Client->__call('get', Array)
#12 src/XF/Sitemap/Builder.php(432): XF\Sitemap\Builder->sendPing()
#13 src/XF/Sitemap/Builder.php(73): XF\Sitemap\Builder->completeBuild()
#14 src/XF/Job/Sitemap.php(27): XF\Sitemap\Builder->build(7.53891)
#15 src/XF/Job/Manager.php(260): XF\Job\Sitemap->run(8)
#16 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#17 src/XF/Job/Manager.php(118): XF\Job\Manager->runJobEntry(Array, 8)
#18 src/XF/Admin/Controller/Tools.php(122): XF\Job\Manager->runByIds(Array, 8)
#19 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#20 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(Truonglv\ImageOptimizer\XF\Admin\Controller\Tools), NULL)
#21 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Truonglv\ImageOptimizer\XF\Admin\Controller\Tools), NULL)
#22 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#23 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#24 src/XF.php(524): XF\App->run()
#25 admin.php(13): XF::runApp('XF\\Admin\\App')
#26 {main}

Code:
array(4) {
  ["url"] => string(24) "/admin.php?tools/run-job"
  ["referrer"] => string(43) "https://ixir.gen.tr/admin.php?tools/run-job"
  ["_GET"] => array(1) {
    ["tools/run-job"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["_xfRedirect"] => string(53) "https://ixir.gen.tr/admin.php?tools/rebuild&success=1"
    ["_xfToken"] => string(8) "********"
    ["only_ids"] => string(6) "143004"
  }
}
 

Attachments

  • Screenshot_1.webp
    Screenshot_1.webp
    136.8 KB · Views: 3
This is a known issue.. disable the PING features in the ACP for Google. Bing is disabled (even if listed) in a recent update... but Google needs to be manually removed/disabled. Google no longer requires (nor wants) you to ping them about your sitemap.

Pay attention to the latter part of the thread.
 
You can submit your sitemap through Google search console (which I did when I created the forum) and it looks like it gets reread by Google once a week.
 
and it looks like it gets reread by Google once a week.
If you have uploaded one at some time it gets re-read indeed.
Next to that, you could choose to add it to your robots.txt maybe other engines make use of it then too.

Just add on top like:
Sitemap: https://www.yourforums.com/sitemap.php
adjust to your own url ofcourse.
 
Back
Top Bottom