[Skip to main content](#vessel-content)

#   Erreur lors de la suppression d'un champ perso

##

- **[Jiwoks](/forum/user/2023-jiwoks "View Jiwoks's Profile")**
- [![Jiwoks's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2023-jiwoks "View Jiwoks's Profile") Topic Author
- [ Offline](/forum/user/2023-jiwoks)

Less More

- Posts: 18
- Thank you received: 0
-
-

15 years 2 months ago -  15 years 2 months ago [\#22783](#22783) by [Jiwoks](/forum/user/2023-jiwoks "View Jiwoks's Profile")  *[Erreur lors de la suppression d'un champ perso](/forum/3-bug-report/22783-erreur-lors-de-la-suppression-dun-champ-perso#22783 "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&#95;hikashop&amp;ctrl=field  Catchable fatal error: Object of class JDatabaseMySQLi could not be converted to string in /administrator/components/com&#95;hikashop/classes/field.php on line 672  Joomla V1.7 Hikashop Essential 1.5.2  Cordialement,")* was created by *[Jiwoks](/forum/user/2023-jiwoks "View Jiwoks's Profile")*

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&amp;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 2 months ago by [Jiwoks](/forum/user/2023-jiwoks "View Jiwoks's Profile"). Reason: Erreur intitulé

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yMjc4My1lcnJldXItbG9ycy1kZS1sYS1zdXBwcmVzc2lvbi1kdW4tY2hhbXAtcGVyc28/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

15 years 2 months ago [\#22786](#22786) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Erreur lors de la suppression d'un champ perso](/forum/3-bug-report/22783-erreur-lors-de-la-suppression-dun-champ-perso#22786 "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&#95;hikashop&amp;ctrl=field  Catchable fatal error: Object of class JDatabaseMySQLi could not be converted to string in /administrator/components/com&#95;hikashop/classes/field.php on line 672  Joomla V1.7 Hikashop Essential 1.5.2  Cordialement,")*

Bonjour,

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

Nous allons corriger cela.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yMjc4My1lcnJldXItbG9ycy1kZS1sYS1zdXBwcmVzc2lvbi1kdW4tY2hhbXAtcGVyc28/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Jiwoks](/forum/user/2023-jiwoks "View Jiwoks's Profile")**
- [![Jiwoks's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2023-jiwoks "View Jiwoks's Profile") Topic Author
- [ Offline](/forum/user/2023-jiwoks)

Less More

- Posts: 18
- Thank you received: 0
-
-

15 years 2 months ago [\#22798](#22798) by [Jiwoks](/forum/user/2023-jiwoks "View Jiwoks's Profile")  Replied by *[Jiwoks](/forum/user/2023-jiwoks "View Jiwoks's Profile")* on topic *[Re: Erreur lors de la suppression d'un champ perso](/forum/3-bug-report/22783-erreur-lors-de-la-suppression-dun-champ-perso#22798 "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&#95;hikashop&amp;ctrl=field  Catchable fatal error: Object of class JDatabaseMySQLi could not be converted to string in /administrator/components/com&#95;hikashop/classes/field.php on line 672  Joomla V1.7 Hikashop Essential 1.5.2  Cordialement,")*

En effet,
J'avais pas fait attention à la parenthèse.
Ça fonctionne, merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yMjc4My1lcnJldXItbG9ycy1kZS1sYS1zdXBwcmVzc2lvbi1kdW4tY2hhbXAtcGVyc28/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.054 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
