Hi, in a project i use the TYPO3 v14 core extension seo to generate xml sitemaps. In a way that works fine but noch all the time.
Sometimes i get the following error:
“Setup array has not been initialized. This happens in cached Frontend scope where full TypoScript is not needed by the system.”
I found this solutions but do not understand what they mean. I use site sets and in general the sitemap works but sometimes not. What can i do?
Hi,
I have not experienced that yet.
The solutions point to code in your controllers and ordering of middlewares. The first should not be relevant (because you are just calling the core sitemap), but the second (custom Middlewares) might be a pointer. With a backtrace (in your log file) you can find the code that runs immediately before the exception is thrown.
If that does not help, I would try to find a reproducible test case (like, for example: flush frontend caches, then load a page with this-or-that specific plugin, then load the sitemap → broken) and look from there which code or configuration triggers it. It could be in your configuration or code or in a third party extension.
I hope you find the cause.