Jump to content

[RESOLU] Erreur 500 sur product_preferences


Recommended Posts

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 by chatlumo
Résolu (see edit history)
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...