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

#   PHP 8.2 Warning: Undefined property: stdClass::$customtext

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-

2 years 8 months ago [\#359475](#359475) by [LAO](/forum/user/80955-lao "View LAO's Profile")  *[PHP 8.2 Warning: Undefined property: stdClass::$customtext](/forum/5-support-en-francais-french-support-/907840-php-8-2-warning-undefined-property-stdclass-customtext#359475 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 5.0.3 -- PHP version -- : 8.2.12  Bonjour,  Je reçois le warning ci-dessous dans l'email de notification de paiement envoyé à l'admin du site : Warning: Undefined property: stdClass::$customtext&#95;62&#95;20&#95;32&#95;13 in .../media/com&#95;hikashop/mail/payment&#95;notification.preload.php on line 193 Ceci pour chaque champ personnalisé du type customtext que j'ai créé.  La ligne PHP en question est : if(empty($item-&gt;$namekey) &amp;&amp; !strlen((string)$item-&gt;$namekey)) continue;  Merci d'avance pour votre aide")* was created by *[LAO](/forum/user/80955-lao "View LAO's Profile")*

-- HikaShop version -- : 5.0.3
-- Joomla version -- : 5.0.3
-- PHP version -- : 8.2.12

Bonjour,

Je reçois le warning ci-dessous dans l'email de notification de paiement envoyé à l'admin du site :
Warning: Undefined property: stdClass::$customtext_62_20_32_13 in .../media/com_hikashop/mail/payment_notification.preload.php on line 193
Ceci pour chaque champ personnalisé du type customtext que j'ai créé.

La ligne PHP en question est :
if(empty($item-&gt;$namekey) &amp;&amp; !strlen((string)$item-&gt;$namekey)) continue;

Merci d'avance pour votre aide

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA3ODQwLXBocC04LTItd2FybmluZy11bmRlZmluZWQtcHJvcGVydHktc3RkY2xhc3MtY3VzdG9tdGV4dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

2 years 8 months ago [\#359478](#359478) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PHP 8.2 Warning: Undefined property: stdClass::$customtext](/forum/5-support-en-francais-french-support-/907840-php-8-2-warning-undefined-property-stdclass-customtext#359478 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 5.0.3 -- PHP version -- : 8.2.12  Bonjour,  Je reçois le warning ci-dessous dans l'email de notification de paiement envoyé à l'admin du site : Warning: Undefined property: stdClass::$customtext&#95;62&#95;20&#95;32&#95;13 in .../media/com&#95;hikashop/mail/payment&#95;notification.preload.php on line 193 Ceci pour chaque champ personnalisé du type customtext que j'ai créé.  La ligne PHP en question est : if(empty($item-&gt;$namekey) &amp;&amp; !strlen((string)$item-&gt;$namekey)) continue;  Merci d'avance pour votre aide")*

Bonjour,

Merci pour votre retour.
Changez la ligne en: Code:

if(!isset($item-&gt;$namekey) &#124;&#124; (empty($item-&gt;$namekey) &amp;&amp; !strlen((string)$item-&gt;$namekey))) continue;

et cela devrait corriger le problème.
Nous allons rajouter cette modification de notre côté.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA3ODQwLXBocC04LTItd2FybmluZy11bmRlZmluZWQtcHJvcGVydHktc3RkY2xhc3MtY3VzdG9tdGV4dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 5
- Thank you received: 0
-
-

2 years 8 months ago [\#359484](#359484) by [LAO](/forum/user/80955-lao "View LAO's Profile")  Replied by *[LAO](/forum/user/80955-lao "View LAO's Profile")* on topic *[PHP 8.2 Warning: Undefined property: stdClass::$customtext](/forum/5-support-en-francais-french-support-/907840-php-8-2-warning-undefined-property-stdclass-customtext#359484 "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 5.0.3 -- PHP version -- : 8.2.12  Bonjour,  Je reçois le warning ci-dessous dans l'email de notification de paiement envoyé à l'admin du site : Warning: Undefined property: stdClass::$customtext&#95;62&#95;20&#95;32&#95;13 in .../media/com&#95;hikashop/mail/payment&#95;notification.preload.php on line 193 Ceci pour chaque champ personnalisé du type customtext que j'ai créé.  La ligne PHP en question est : if(empty($item-&gt;$namekey) &amp;&amp; !strlen((string)$item-&gt;$namekey)) continue;  Merci d'avance pour votre aide")*

Super, ça règle le problème.

Merci pour votre aide !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA3ODQwLXBocC04LTItd2FybmluZy11bmRlZmluZWQtcHJvcGVydHktc3RkY2xhc3MtY3VzdG9tdGV4dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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.052 seconds

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