Starshot: XMLWriter not found

Created on 27 September 2024, 6 months ago

Problem/Motivation

I'm getting the following error when testing the current WebAssembly build of drupal_cms:

Error: Class "XMLWriter" not found in include() (line 10 of modules/contrib/simple_sitemap/src/Plugin/simple_sitemap/SitemapGenerator/SitemapWriter.php).

Here's the callstack

include() (Line: 576)
Composer\Autoload\{closure}('/persist/cms/web/modules/contrib/simple_sitemap/src/Plugin/simple_sitemap/SitemapGenerator/SitemapWriter.php') (Line: 427)
Composer\Autoload\ClassLoader->loadClass('Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator\SitemapWriter') (Line: 261)
Drupal\Component\DependencyInjection\Container->createService(Array, 'simple_sitemap.sitemap_writer') (Line: 179)
Drupal\Component\DependencyInjection\Container->get('simple_sitemap.sitemap_writer') (Line: 123)
Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator\SitemapGeneratorBase::create(Object, Array, 'default', Array) (Line: 21)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('default', Array) (Line: 83)
Drupal\Component\Plugin\PluginManagerBase->createInstance('default') (Line: 77)
Drupal\simple_sitemap\Entity\SimpleSitemapType->getSitemapGenerator() (Line: 182)
Drupal\simple_sitemap\Entity\SimpleSitemap->addChunk(Array) (Line: 411)
Drupal\simple_sitemap\Queue\QueueWorker->generateSitemapChunksFromResults(1) (Line: 341)
Drupal\simple_sitemap\Queue\QueueWorker->generate('cron') (Line: 189)
Drupal\simple_sitemap\Manager\Generator->generate('cron') (Line: 74)
simple_sitemap_cron() (Line: 335)
Drupal\Core\Cron->Drupal\Core\{closure}(Object, 'simple_sitemap') (Line: 395)
Drupal\Core\Extension\ModuleHandler->invokeAllWith('cron', Object) (Line: 318)
Drupal\Core\Cron->invokeCronHandlers() (Line: 159)
Drupal\Core\Cron->run() (Line: 75)
Drupal\Core\ProxyClass\Cron->run() (Line: 65)
Drupal\automated_cron\EventSubscriber\AutomatedCron->onTerminate(Object, 'kernel.terminate', Object)
call_user_func(Array, Object, 'kernel.terminate', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.terminate') (Line: 115)
Symfony\Component\HttpKernel\HttpKernel->terminate(Object, Object) (Line: 66)
Drupal\Core\StackMiddleware\StackedHttpKernel->terminate(Object, Object) (Line: 715)
Drupal\Core\DrupalKernel->terminate(Object, Object) (Line: 22)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cosmicdreams Minneapolis/St. Paul

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024