getSitemaps(): Return value must be of type array, null returned

Created on 15 November 2023, about 1 year ago
Updated 13 September 2024, 2 months ago

While upgrading the site to Drupal 10, getting below error.

│ Exception: TypeError: Drupal\simple_sitemap\Manager\Generator::getSitemaps(): Return value must be of type array, null returned
   │ Drupal\simple_sitemap\Manager\Generator->getSitemaps()() (Line: 72)
   │
   │ /tmp/site/sitedummyci/app/core/lib/Drupal/Core/Test/HttpClientMiddleware/TestHttpClientMiddleware.php:49
   │ /tmp/site/sitedummyci/vendor/guzzlehttp/promises/src/Promise.php:204
   │ /tmp/site/sitedummyci/vendor/guzzlehttp/promises/src/Promise.php:153
   │ /tmp/site/sitedummyci/vendor/guzzlehttp/promises/src/TaskQueue.php:48
   │ /tmp/site/sitedummyci/vendor/guzzlehttp/promises/src/Promise.php:248
   │ /tmp/site/sitedummyci/vendor/guzzlehttp/promises/src/Promise.php:224
   │ /tmp/site/sitedummyci/vendor/guzzlehttp/promises/src/Promise.php:269
   │ /tmp/site/sitedummyci/vendor/guzzlehttp/promises/src/Promise.php:226
   │ /tmp/site/sitedummyci/vendor/guzzlehttp/promises/src/Promise.php:62
   │ /tmp/site/sitedummyci/vendor/guzzlehttp/guzzle/src/Client.php:182
   │ /tmp/site/sitedummyci/app/core/tests/Drupal/Tests/DrupalTestBrowser.php:137
   │ /tmp/site/sitedummyci/vendor/symfony/browser-kit/Client.php:404
   │ /tmp/site/sitedummyci/vendor/friends-of-behat/mink-browserkit-driver/src/BrowserKitDriver.php:145
   │ /tmp/site/sitedummyci/vendor/behat/mink/src/Session.php:148
🐛 Bug report
Status

Closed: cannot reproduce

Version

4.0

Component

Code

Created by

🇮🇳India piyushsms91

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024