SchuWeb Sitemap 3.4.1 is a maintenance release, which fixes two bugs for Joomla! 4 installation.
For Joomla! 3 you can stick with the 3.4.0 which can be found here.
- Call to a member function getGroup() on null #97
- fix falls positiv error on install if old plugins are already not installed