Jump to content

User Deprecated Prestashop 1.7.4.3


alexpacha

Recommended Posts

  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

  • 6 months later...
  • 7 months later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...