What to do if I get an error while generating a sitemap (with Google sitemap module)?
When generating a sitemap with the "Google Sitemap" module, you may get this type of error:
Uncaught PrestaShopException: Dispatcher::createUrl() miss required parameter "id_seo" for route "module-pm_advancedsearch4-seo"
This error means the generator is trying to build an SEO page URL without providing its id_seo identifier.
If your generator version offers controller exclusions, exclude the module’s controllers prefixed with pm_advancedsearch4_. Labels and layout depend on the Google Sitemap version you use. The illustration below shows a historical interface; use it only if it matches your configuration.

The module provides its own sitemap for each search engine’s SEO pages. In the relevant engine, open “SEO Pages (facets)” and copy the URL shown above the page list. It is displayed when the engine has SEO pages and PrestaShop Friendly URLs are enabled.
In “General settings”, you can enable “Append SEO pages sitemaps to the robots.txt file of the shop”, then save. The URLs will be added the next time you regenerate robots.txt from the PrestaShop back office. This setting is optional and does not merge the pages into another sitemap.
See also: create and manage SEO pages.