chatlumo Posted July 24, 2018 Share Posted July 24, 2018 (edited) Bonjour, Sur Prestashop 1.7.4.1, lorsque dans le BO, je vais sur /adminXXXXX/index.php/configure/shop/product_preferences, j'obtiens une erreur 500. Dans le détail, j'ai : [2018-07-24 17:23:16] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Form\Exception\UnexpectedTypeException: "Expected argument of type "object, array or empty", "string" given" at /home/www/ps/vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php line 41 {"exception":"[object] (Symfony\\Component\\Form\\Exception\\UnexpectedTypeException(code: 0): Expected argument of type \"object, array or empty\", \"string\" given at /home/www/ps/vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php:41)"} [] Je vois bien qu'une donnée de type string est passée alors que c'est un autre type qui est attendu mais je ne sais pas ce qui est transmis, ni pourquoi. Avez-vous une idée ? Merci. Edited July 25, 2018 by chatlumo Résolu (see edit history) Link to comment Share on other sites More sharing options...
ksaan Posted July 24, 2018 Share Posted July 24, 2018 Bonjour, Ce bug a été reporté et quelqu'un a trouvé comment le corriger. je vous donne le lien: http://forge.prestashop.com/browse/BOOM-5982 Link to comment Share on other sites More sharing options...
chatlumo Posted July 25, 2018 Author Share Posted July 25, 2018 Merci c'est parfait ! 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