FabioPaz Posted January 2, 2023 Posted January 2, 2023 Using php8.1. Error: Class "XMLWriter" not found (0) #0 /var/www/XXXXX/applications/core/extensions/core/Sitemap/Content.php(328): IPS\_Sitemap->buildSitemapFile() #1 /var/www/XXXXX/system/Sitemap/Sitemap.php(120): IPS\core\extensions\core\Sitemap\_Content->generateSitemap() #2 /var/www/XXXXX/applications/core/tasks/sitemapgenerator.php(39): IPS\_Sitemap->buildNextSitemap() #3 /var/www/XXXXX/system/Task/Task.php(375): IPS\core\tasks\_sitemapgenerator->IPS\core\tasks\{closure}() #4 /var/www/XXXXX/applications/core/tasks/sitemapgenerator.php(34): IPS\_Task->runUntilTimeout() #5 /var/www/XXXXX/system/Task/Task.php(274): IPS\core\tasks\_sitemapgenerator->execute() #6 /var/www/XXXXX/system/Task/Task.php(237): IPS\_Task->run() #7 /var/www/XXXXX/applications/core/interface/task/task.php(58): IPS\_Task->runAndLog() #8 {main} XMLWrite enabled where the forum is running. The same is happening with DOMDocument (also enabled). Dont mind if this is a false positive, but if this is affecting the sitemap and how google might find some pages, this would be a problem.
Solution Daniel F Posted January 2, 2023 Solution Posted January 2, 2023 It seems like your cli is using another php version than the Webserver
Recommended Posts