Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On PHP 7.4, latest dev version throws the following error at /admin/config/search/simplesitemap as long as there is no sitemap present yet:
Notice: Undefined index: default in Drupal\simple_sitemap\Form\SimplesitemapSitemapsForm->buildForm() (line 156 of modules/contrib/simple_sitemap/src/Form/SimplesitemapSitemapsForm.php).
Drupal\simple_sitemap\Form\SimplesitemapSitemapsForm->buildForm(Array, Object)
Comments
Comment #2
extect CreditAttribution: extect commentedComment #4
gbyte CreditAttribution: gbyte as a volunteer and at gbyte commentedFixed in dev.
Comment #6
mlumadue CreditAttribution: mlumadue commentedReporting that the same issue turns up on 8.x-3.6 on PHP 7.2.30.
Comment #7
gbyte CreditAttribution: gbyte as a volunteer and at gbyte commented@mlumadue Please don't, as it's been fixed already. Feel free to check out the dev version.
Comment #8
AlexBorsody CreditAttribution: AlexBorsody commentedI am using
"drupal/simple_sitemap": "^3.9",
and getting a similar error. Fresh install on a relatively fresh D9 site. PHP 7.4.