You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DOMDocument::schemaValidate(): Invalid Schema error while installing the bundle
I used default recipes
Current behavior
symfony composer req vich/uploader-bundle -vvv
.......
> post-update-cmd: Symfony\Flex\Flex_composer_tmp0->update
Run composer recipes at any time to see the status of your Symfony recipes.
> post-update-cmd: @auto-scripts
> auto-scripts: Symfony\Flex\Flex_composer_tmp0->executeAutoScripts
Executing script cache:clear
Executed script cache:clear [KO]
[KO]
Script cache:clear returned with error code 1
!!
!! // Clearing the cache for the dev environment with debug true
!!
!! // Cache is fresh.
!!
!! // Warming up optional cache...
!!
!!
!! [INFO] "Symfony\Bundle\FrameworkBundle\CacheWarmer\ConfigBuilderCacheWarmer"
!! completed in 5.53ms.
!!
!!
!!
!! [INFO] "Symfony\Bundle\FrameworkBundle\CacheWarmer\TranslationsCacheWarmer"
!! completed in 27.80ms.
!!
!!
!!
!! [INFO] "Symfony\Bundle\FrameworkBundle\CacheWarmer\RouterCacheWarmer" completed
!! in 17.83ms.
!!
!!
!!
!! [INFO] "Symfony\Bundle\FrameworkBundle\CacheWarmer\SerializerCacheWarmer"
!! completed in 0.56ms.
!!
!!
!!
!! [INFO] "Symfony\Bundle\FrameworkBundle\CacheWarmer\ValidatorCacheWarmer"
!! completed in 27.78ms.
!!
!!
!!
!! [INFO] "Symfony\Bundle\TwigBundle\CacheWarmer\TemplateCacheWarmer" completed in
!! 60.43ms.
!!
!!
!!
!! In XmlDriver.php line 1006:
!!
!! [ErrorException]
!! Warning: DOMDocument::schemaValidate(): Invalid Schema
!!
!!
!! Exception trace:
!! at /Users/me/project/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php:1006
!! Doctrine\ORM\Mapping\Driver\XmlDriver->validateMapping() at /Users/me/project/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php:965
!! Doctrine\ORM\Mapping\Driver\XmlDriver->loadMappingFile() at /Users/me/project/vendor/doctrine/persistence/src/Persistence/Mapping/Driver/FileDriver.php:96
!! Doctrine\Persistence\Mapping\Driver\FileDriver->getElement() at /Users/me/project/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php:89
!! Doctrine\ORM\Mapping\Driver\XmlDriver->loadMetadataForClass() at /Users/me/project/vendor/doctrine/persistence/src/Persistence/Mapping/Driver/MappingDriverChain.php:77
!! Doctrine\Persistence\Mapping\Driver\MappingDriverChain->loadMetadataForClass() at /Users/me/project/vendor/doctrine/doctrine-bundle/Mapping/MappingDriver.php:42
!! Doctrine\Bundle\DoctrineBundle\Mapping\MappingDriver->loadMetadataForClass() at /Users/me/project/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:149
!! Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata() at /Users/me/project/vendor/doctrine/doctrine-bundle/Mapping/ClassMetadataFactory.php:18
!! Doctrine\Bundle\DoctrineBundle\Mapping\ClassMetadataFactory->doLoadMetadata() at /Users/me/project/vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:343
!! Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata() at /Users/me/project/vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:207
!! Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor() at /Users/me/project/vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:96
!! Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->getAllMetadata() at /Users/me/project/vendor/vich/uploader-bundle/src/Metadata/Driver/AnnotationDriver.php:80
!! Vich\UploaderBundle\Metadata\Driver\AnnotationDriver->getAllClassNames() at /Users/me/project/vendor/jms/metadata/src/Driver/DriverChain.php:57
!! Metadata\Driver\DriverChain->getAllClassNames() at /Users/me/project/vendor/jms/metadata/src/MetadataFactory.php:145
!! Metadata\MetadataFactory->getAllClassNames() at /Users/me/project/vendor/vich/uploader-bundle/src/Metadata/MetadataReader.php:66
!! Vich\UploaderBundle\Metadata\MetadataReader->getUploadableClasses() at /Users/me/project/vendor/vich/uploader-bundle/src/Metadata/CacheWarmer.php:27
!! Vich\UploaderBundle\Metadata\CacheWarmer->warmUp() at /Users/me/project/vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php:99
!! Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp() at /Users/me/project/vendor/symfony/framework-bundle/Command/CacheClearCommand.php:248
!! Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand->warmupOptionals() at /Users/me/project/vendor/symfony/framework-bundle/Command/CacheClearCommand.php:132
!! Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand->execute() at /Users/me/project/vendor/symfony/console/Command/Command.php:279
!! Symfony\Component\Console\Command\Command->run() at /Users/me/project/vendor/symfony/console/Application.php:1049
!! Symfony\Component\Console\Application->doRunCommand() at /Users/me/project/vendor/symfony/framework-bundle/Console/Application.php:125
!! Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /Users/me/project/vendor/symfony/console/Application.php:318
!! Symfony\Component\Console\Application->doRun() at /Users/me/project/vendor/symfony/framework-bundle/Console/Application.php:79
!! Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /Users/me/project/vendor/symfony/console/Application.php:169
!! Symfony\Component\Console\Application->run() at /Users/me/project/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49
!! Symfony\Component\Runtime\Runner\Symfony\ConsoleApplicationRunner->run() at /Users/me/project/vendor/autoload_runtime.php:29
!! require_once() at /Users/me/project/bin/console:11
!!
!! cache:clear [--no-warmup] [--no-optional-warmers]
!!
!!
Script @auto-scripts was called via post-update-cmd
How to reproduce
composer req vich/uploader-bundle
Expected behavior
can install the bundle on Symfony 7
The text was updated successfully, but these errors were encountered:
Bug Report
Summary
DOMDocument::schemaValidate(): Invalid Schema
error while installing the bundleI used default recipes
Current behavior
How to reproduce
Expected behavior
can install the bundle on Symfony 7
The text was updated successfully, but these errors were encountered: