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

#   Error in email

##

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

Less More

- Posts: 9
- Thank you received: 0
-
-

11 years 3 months ago [\#210954](#210954) by [jasonyon](/forum/user/38047-jasonyon "View jasonyon's Profile")  *[Error in email](/forum/26-product-category-display/878634-error-in-email#210954 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- Error-message(debug-mod must be tuned on) -- : Notice: Undefined property: stdClass::$customtext&#95;216&#95;10&#95;29&#95;10 in .....media/com&#95;hikashop/mail/order&#95;admin&#95;notification.preload.php on line 173  I created an item with &quot;custom text&quot; field type and we are now getting this error in our order confirmation emails. The only reason I know that my custom field is causing it is the automated column name - customtext&#95;216&#95;10&#95;29&#95;10  I have just now disabled that field for Backend. We only need to show it on the frontend anyway. Will that fix it?")* was created by *[jasonyon](/forum/user/38047-jasonyon "View jasonyon's Profile")*

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined property: stdClass::$customtext_216_10_29_10 in .....media/com_hikashop/mail/order_admin_notification.preload.php on line 173

I created an item with "custom text" field type and we are now getting this error in our order confirmation emails. The only reason I know that my custom field is causing it is the automated column name - customtext_216_10_29_10

I have just now disabled that field for Backend. We only need to show it on the frontend anyway. Will that fix it?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4080
-
- [](http://obsi.dev)
-

11 years 3 months ago [\#210956](#210956) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Error in email](/forum/26-product-category-display/878634-error-in-email#210956 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- Error-message(debug-mod must be tuned on) -- : Notice: Undefined property: stdClass::$customtext&#95;216&#95;10&#95;29&#95;10 in .....media/com&#95;hikashop/mail/order&#95;admin&#95;notification.preload.php on line 173  I created an item with &quot;custom text&quot; field type and we are now getting this error in our order confirmation emails. The only reason I know that my custom field is causing it is the automated column name - customtext&#95;216&#95;10&#95;29&#95;10  I have just now disabled that field for Backend. We only need to show it on the frontend anyway. Will that fix it?")*

Hi,

In the file, please replace line 173 Code:

if(empty($item-&gt;$namekey) &amp;&amp; !strlen($item-&gt;$namekey)) continue;

By Code:

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

It will avoid that warning.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzg2MzQtZXJyb3ItaW4tZW1haWw/dG1wbD1tYXJrZG93bg==) 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)
