Update DynamicSimplesitemapController.php to work without thunder simple_sitemap patch.
https://www.drupal.org/project/simple_sitemap/issues/3109090 is not part of mainline simple_sitemap 8.x-3.x branch.
Edited by Lio Novelli
https://www.drupal.org/project/simple_sitemap/issues/3109090 is not part of mainline simple_sitemap 8.x-3.x branch.