Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Fatal error: Uncaught Error: Class 'Symfony\Component\Config\Loader\FileLoader' #12

Open
GautierDig opened this issue Jul 26, 2022 · 1 comment

Comments

@GautierDig
Copy link

Hi,
I installed the database-anonymizer globally with the command composer global require webnet-fr/database-anonymizer.
When I run database-anonymizer --help or simply database-anonymizer I get this error:

PHP Fatal error:  Uncaught Error: Class 'Symfony\Component\Config\Loader\FileLoader' not found in /Users/toto/.composer/vendor/symfony/dependency-injection/Loader/FileLoader.php:32
Stack trace:
#0 /Users/toto/.composer/vendor/composer/ClassLoader.php(571): include()
#1 /Users/toto/.composer/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/Users/toto...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('Symfony\\Compone...')
#3 /Users/toto/.composer/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(37): spl_autoload_call('Symfony\\Compone...')
#4 /Users/toto/.composer/vendor/composer/ClassLoader.php(571): include('/Users/toto...')
#5 /Users/toto/.composer/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/Users/toto...')
#6 [internal function]: Composer\Autoload\ClassLoader->loadClass('Symfony\\Compone...')
#7 /Users/toto/.composer/vendor/webnet-fr/database-anonymize in /Users/toto/.composer/vendor/symfony/dependency-injection/Loader/FileLoader.php on line 32

Fatal error: Uncaught Error: Class 'Symfony\Component\Config\Loader\FileLoader' not found in /Users/toto/.composer/vendor/symfony/dependency-injection/Loader/FileLoader.php:32
Stack trace:
#0 /Users/toto/.composer/vendor/composer/ClassLoader.php(571): include()
#1 /Users/toto/.composer/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/Users/toto...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('Symfony\\Compone...')
#3 /Users/toto/.composer/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(37): spl_autoload_call('Symfony\\Compone...')
#4 /Users/toto/.composer/vendor/composer/ClassLoader.php(571): include('/Users/toto...')
#5 /Users/toto/.composer/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/Users/toto...')
#6 [internal function]: Composer\Autoload\ClassLoader->loadClass('Symfony\\Compone...')
#7 /Users/toto/.composer/vendor/webnet-fr/database-anonymize in /Users/toto/.composer/vendor/symfony/dependency-injection/Loader/FileLoader.php on line 32

@GautierDig
Copy link
Author

Any news on this topic ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant