Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3925

Trying to deploy our S4 program, we have a fatal error with debug

$
0
0

We wrote an application with SF4. It works fine, even on the remote site, in dev mode.

So we try to get prod mode. In .env, we pass the APP_ENV variable to prod, an we have the message :

Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: There is no extension able to load the configuration for "debug" (in /home/olymphys/public_html/config/packages/debug.yml). Looked for namespace "debug", found "framework", "sensio_framework_extra", "doctrine_cache", "doctrine", "doctrine_migrations", "security", "swiftmailer", "twig", "monolog", "easy_admin", "vich_uploader", "webpack_encore" in /home/olymphys/public_html/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php:682 Stack trace: #0 /home/olymphys/public_html/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(652): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->validate(Array, '/home/olymphys/...') #1 /home/olymphys/public_html/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(119): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->loadFile('/home/olymphys/...') #2 /home/olymphys/public_html/vendor/symfony/config/Loader/FileLoader.php(151): Symfony\Component\D in /home/olymphys/public_html/vendor/symfony/config/Loader/FileLoader.php on line 166

We tried to use dump_destination in symfony/debug-bundle config and nothing different happen...


Viewing all articles
Browse latest Browse all 3925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>