alexpacha Posted October 24, 2018 Share Posted October 24, 2018 User Deprecated: The "logger" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public, or stop using the container directly and use dependency injection instead. User Deprecated: The "logger" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public, or stop using the container directly and use dependency injection instead. ▼ "exception" => ErrorException {#3691 ▼ #message: "User Deprecated: The "logger" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public, or stop using the container directly and use dependency injection instead." #code: 0 #file: "/homepages/13/d654916343/htdocs/gecoshop1/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php" #line: 282 #severity: E_USER_DEPRECATED trace: {▶} } Help me a FIx it! Link to comment Share on other sites More sharing options...
sebastienonline Posted May 4, 2019 Share Posted May 4, 2019 Hello do you find how to resolve your problem? I am in 1.7.4.3 like you and I have the same problem :s I have this problem when I save update of product or when I create product. Link to comment Share on other sites More sharing options...
pandorrah Posted January 1, 2020 Share Posted January 1, 2020 Same here: User Deprecated: The "logger" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public, or stop using the container directly and use dependency injection instead. Hide context Hide trace [▼ "exception" => ErrorException {#920 ▶} ] {▼ /customers/a/b/0/site/httpd.www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:282 {▶} /customers/a/b/0/site/httpd.www/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php:67 {▶} /customers/a/b/0/site/httpd.www/src/PrestaShopBundle/Controller/Admin/ProductController.php:147 {▼ › /* @var $logger LoggerInterface */ › $logger = $this->get('logger'); › } /customers/a/b/0/site/httpd.www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151 {▶} /customers/a/b/0/site/httpd.www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68 {▶} /customers/a/b/0/site/httpd.www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200 {▶} /customers/a/b/0/site/httpd.www/admincode/index.php:88 {▶} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now