EcommFox Posted March 25, 2024 Share Posted March 25, 2024 (edited) Bonjour à tous, J'ai besoin éclaircissement sur un problème lié à la creation de produits via Webservice API d'une boutique. Je reçois cette erreur en réponse : <message> <![CDATA[[PHP Unknown error #8192] Creation of dynamic property HTMLPurifier_Lexer_DOMLex::$_entity_parser is deprecated (/home/vgquqqr/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer.php, line 154)]]> </message> <message> <![CDATA[[PHP Unknown error #8192] Creation of dynamic property HTMLPurifier_AttrTransform_NameSync::$idDef is deprecated (/home/vgquqqr/www/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/NameSync.php, line 13)]]> </message> Une idée de ce à quoi cela est du? Y' a t'il une solution connue à cela ? Merci à vous . Edited March 25, 2024 by EcommFox (see edit history) Link to comment Share on other sites More sharing options...
Eolia Posted March 25, 2024 Share Posted March 25, 2024 il faut définir ces variables en début des classes utilisées. Bug à remonter sur le Github. 1 Link to comment Share on other sites More sharing options...
EcommFox Posted March 25, 2024 Author Share Posted March 25, 2024 Bug posté sur le Github ici : https://github.com/PrestaShop/PrestaShop/issues/35742 Link to comment Share on other sites More sharing options...
Eolia Posted March 25, 2024 Share Posted March 25, 2024 Ah ben ils vous ont envoyé paitre direct ce code n'existe pas dans les 1.7 et supérieures. Ajoutez vos variables à la mano. Link to comment Share on other sites More sharing options...
EcommFox Posted March 27, 2024 Author Share Posted March 27, 2024 @Eolia j'ai obtenu la solution donc l'issue a été fermée. En réalité le problème provenait de la version PHP qui n'était pas la bonne . La version compatible pour Prestashop 8.1 est PHP 8.1 Link to comment Share on other sites More sharing options...
Mediacom87 Posted March 27, 2024 Share Posted March 27, 2024 Il y a 1 heure, EcommFox a dit : @Eolia j'ai obtenu la solution donc l'issue a été fermée. En réalité le problème provenait de la version PHP qui n'était pas la bonne . La version compatible pour Prestashop 8.1 est PHP 8.1 https://devdocs.prestashop-project.org/8/basics/installation/system-requirements/#php-compatibility-chart 1 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