Jump to content

PS 1.7.8.7 + PHP 7.3 : User Deprecated : ShopConstraint & Doctrine\ORM\Mapping\UnderscoreNamingStrategy


Recommended Posts

Bonjour,

J'ai 2 messages dans la console debug sur PS 1.7.8.7 et PHP 7.3 :

User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0
Hide context    Hide trace
[▼
  "exception" => ErrorException {#1424 ▶}
]
{▼
  /home/XXX/public_html/src/Adapter/Configuration.php:418 {▼
    ›     'Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0',
    ›     E_USER_DEPRECATED
    › );
  }
  /home/XXX/public_html/src/Adapter/Configuration.php:106 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:200 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/ParameterBag.php:183 {▶}
  /home/XXX/public_html/var/cache/dev/ContainerK4jbarl/appDevDebugProjectContainer.php:3539 {▶}
  /home/XXX/public_html/var/cache/dev/ContainerK4jbarl/appDevDebugProjectContainer.php:4314 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:231 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:61 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php:129 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:259 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:137 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:139 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200 {▶}
  /home/XXX/public_html/adminXXXXX/index.php:82 {▶}
}
User Deprecated: Creating Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it number aware is deprecated and will be removed in Doctrine ORM 3.0.
Hide context    Hide trace
[▼
  "exception" => ErrorException {#1279 ▶}
]
{▼
  /home/XXX/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/UnderscoreNamingStrategy.php:66 {▶}
  /home/XXX/public_html/src/PrestaShopBundle/Service/Database/DoctrineNamingStrategy.php:47 {▼
    › {
    ›     parent::__construct(CASE_LOWER);
    ›     $this->prefix = $prefix;
  }
  /home/XXX/public_html/var/cache/dev/ContainerK4jbarl/appDevDebugProjectContainer.php:3064 {▶}
  /home/XXX/public_html/var/cache/dev/ContainerK4jbarl/appDevDebugProjectContainer.php:3139 {▶}
  /home/XXX/public_html/var/cache/dev/ContainerK4jbarl/appDevDebugProjectContainer.php:3413 {▶}
  /home/XXX/public_html/var/cache/dev/ContainerK4jbarl/appDevDebugProjectContainer.php:3427 {▶}
  /home/XXX/public_html/var/cache/dev/ContainerK4jbarl/appDevDebugProjectContainer.php:3624 {▶}
  /home/XXX/public_html/var/cache/dev/ContainerK4jbarl/appDevDebugProjectContainer.php:4317 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:231 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:61 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php:129 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:259 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:137 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:139 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68 {▶}
  /home/XXX/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200 {▶}
  /home/XXX/public_html/XXXX/index.php:82 {▶}
}

Cela pose t-il problème ?

Merci

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...