Skip to main content

Erreur lors de la suppression d'un champ perso

More
15 years 1 month ago - 15 years 1 month ago #22783 by Jiwoks
Bonjour,

Lors de la suppression d'un champ personnalisé (produit dans mon cas), j'ai l'erreur suivante:

Page appelée /administrator/index.php?option=com_hikashop&ctrl=field

Catchable fatal error: Object of class JDatabaseMySQLi could not be converted to string in /administrator/components/com_hikashop/classes/field.php on line 672

Joomla V1.7
Hikashop Essential 1.5.2

Cordialement,
Last edit: 15 years 1 month ago by Jiwoks. Reason: Erreur intitulé

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #22786 by nicolas
Bonjour,

Il faut changer la ligne:
$this->database->setQuery('ALTER TABLE '.hikashop_table($table).' DROP `'.implode('`, DROP `',$fields)).'`';
de ce fichier en:
$this->database->setQuery('ALTER TABLE '.hikashop_table($table).' DROP `'.implode('`, DROP `',$fields).'`');

Nous allons corriger cela.

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #22798 by Jiwoks
En effet,
J'avais pas fait attention à la parenthèse.
Ça fonctionne, merci

Please Log in or Create an account to join the conversation.

Time to create page: 0.177 seconds
Powered by Kunena Forum