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

#   Error message in Order Creation Notification email

##

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

Less More

- Posts: 51
- Thank you received: 0
-
-

11 years 8 months ago [\#192684](#192684) by [phickman](/forum/user/5715-phickman "View phickman's Profile")  *[Error message in Order Creation Notification email](/forum/27-checkout/875329-error-message-in-order-creation-notification-email#192684 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.3.27  The Order Creation Notification email is throwing the following message:  Notice: Undefined property: stdClass::$LWDisplay in /&#91;path&#93;/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.preload.php on line 159  Please advise if you have a fix I can put in place. Thanks!")* was created by *[phickman](/forum/user/5715-phickman "View phickman's Profile")*

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.4.0
-- PHP version -- : 5.3.27

The Order Creation Notification email is throwing the following message:

Notice: Undefined property: stdClass::$LWDisplay in /[path]/media/com_hikashop/mail/order_creation_notification.preload.php on line 159

Please advise if you have a fix I can put in place. Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NTMyOS1lcnJvci1tZXNzYWdlLWluLW9yZGVyLWNyZWF0aW9uLW5vdGlmaWNhdGlvbi1lbWFpbD90bXBsPW1hcmtkb3du) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 8 months ago [\#192688](#192688) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Error message in Order Creation Notification email](/forum/27-checkout/875329-error-message-in-order-creation-notification-email#192688 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.3.27  The Order Creation Notification email is throwing the following message:  Notice: Undefined property: stdClass::$LWDisplay in /&#91;path&#93;/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.preload.php on line 159  Please advise if you have a fix I can put in place. Thanks!")*

Hi,

It looks like you have an item custom fields which does not exists.
You can edit the email file and replace Code:

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

By Code:

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

And it should fix the notice message.
Please note that it is just a notice ; it's not an error or a really big issue ; it will not break the HikaShop process and in production website, the PHP message should be hidden (but for sure, we do our best to remove all notices).

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NTMyOS1lcnJvci1tZXNzYWdlLWluLW9yZGVyLWNyZWF0aW9uLW5vdGlmaWNhdGlvbi1lbWFpbD90bXBsPW1hcmtkb3du) 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.065 seconds

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