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

#   Remove warning messages inside emails to customer

##

- **[dennis3m](/forum/user/36804-dennis3m "View dennis3m's Profile")**
- [![dennis3m's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/flower.jpg)](/forum/user/36804-dennis3m "View dennis3m's Profile") Topic Author
- [ Offline](/forum/user/36804-dennis3m)

Less More

- Posts: 28
- Thank you received: 1
-
-

11 years 6 months ago [\#198869](#198869) by [dennis3m](/forum/user/36804-dennis3m "View dennis3m's Profile")  *[Remove warning messages inside emails to customer](/forum/33-customers/876420-remove-warning-messages-inside-emails-to-customer#198869 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.38 -- Browser(s) name and version -- : Safari 8.0.5(Mac), Chrome (Mac) 41.0.2272.118 (64-bit) -- Error-message(debug-mod must be tuned on) -- : These are displayed inside customer emails:  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 53  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 56  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 57  Hello:  1) Now trying to edit the email content by going to System&gt; email. I have not had much luck with it. I'm trying to remove billing address information from all of our emails to our vendors. Do you think you could give me some direction as to what to edit or delete...and if I should be editing the HTML or the two sections below that?  2) Been testing orders and notice that emails are being sent out by the system with warning messages, would you know if I have done something wrong to cause these?  At the top of outgoing emails to customer (Your order No. PD0066 is now confirmed at....)  The status of your order No. PD0066 has been changed to confirmed. Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 53  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 56  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 57  ============================  At the top of outgoing emails to Vendors (Your order No. B3L3 is now confirmed at...)  Notice: Undefined index: in /home4/dennis3m/public&#95;html/plugins/system/languagefilter/languagefilter.php on line 172  Notice: Trying to get property of non-object in /home4/dennis3m/public&#95;html/plugins/system/languagefilter/languagefilter.php on line 172  Notice: Undefined offset: 201 in /home4/dennis3m/public&#95;html/media/com&#95;hikamarket/mail/order&#95;status&#95;notification.preload.php on line 115  Notice: Use of undefined constant JPATH&#95;COMPONENT - assumed 'JPATH&#95;COMPONENT' in /home4/dennis3m/public&#95;html/libraries/legacy/view/legacy.php on line 164")* was created by *[dennis3m](/forum/user/36804-dennis3m "View dennis3m's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.0
-- PHP version -- : 5.4.38
-- Browser(s) name and version -- : Safari 8.0.5(Mac), Chrome (Mac) 41.0.2272.118 (64-bit)
-- Error-message(debug-mod must be tuned on) -- : These are displayed inside customer emails:

Warning: Creating default object from empty value in /home4/dennis3m/public_html/media/com_hikashop/mail/order_status_notification.html.modified.php on line 53

Warning: Creating default object from empty value in /home4/dennis3m/public_html/media/com_hikashop/mail/order_status_notification.html.modified.php on line 56

Warning: Creating default object from empty value in /home4/dennis3m/public_html/media/com_hikashop/mail/order_status_notification.html.modified.php on line 57

Hello:

1) Now trying to edit the email content by going to System&gt; email. I have not had much luck with it. I'm trying to remove billing address information from all of our emails to our vendors. Do you think you could give me some direction as to what to edit or delete...and if I should be editing the HTML or the two sections below that?

2) Been testing orders and notice that emails are being sent out by the system with warning messages, would you know if I have done something wrong to cause these?

&lt;bold&gt;At the top of outgoing emails to customer (Your order No. PD0066 is now confirmed at....)&lt;/bold&gt;

The status of your order No. PD0066 has been changed to confirmed.
Warning: Creating default object from empty value in /home4/dennis3m/public_html/media/com_hikashop/mail/order_status_notification.html.modified.php on line 53

Warning: Creating default object from empty value in /home4/dennis3m/public_html/media/com_hikashop/mail/order_status_notification.html.modified.php on line 56

Warning: Creating default object from empty value in /home4/dennis3m/public_html/media/com_hikashop/mail/order_status_notification.html.modified.php on line 57

============================

&lt;bold&gt;At the top of outgoing emails to Vendors (Your order No. B3L3 is now confirmed at...)&lt;/bold&gt;

Notice: Undefined index: in /home4/dennis3m/public_html/plugins/system/languagefilter/languagefilter.php on line 172

Notice: Trying to get property of non-object in /home4/dennis3m/public_html/plugins/system/languagefilter/languagefilter.php on line 172

Notice: Undefined offset: 201 in /home4/dennis3m/public_html/media/com_hikamarket/mail/order_status_notification.preload.php on line 115

Notice: Use of undefined constant JPATH_COMPONENT - assumed 'JPATH_COMPONENT' in /home4/dennis3m/public_html/libraries/legacy/view/legacy.php on line 164

[ ![Screenshot&#95;2015-04-16&#95;21&#95;59&#95;13.png](/forum/attachment/23816) ](/forum/attachment/23816 "...6&#95;21&#95;59&#95;13.png")

[ ![Screenshot&#95;2015-04-16&#95;21&#95;51&#95;52.png](/forum/attachment/23817) ](/forum/attachment/23817 "...6&#95;21&#95;51&#95;52.png")

- [ ![Screenshot&#95;2015-04-16&#95;21&#95;59&#95;13.png](/forum/attachment/23816) ](/forum/attachment/23816 "...6&#95;21&#95;59&#95;13.png") [ ](/forum/attachment/23816?download=1 "...6&#95;21&#95;59&#95;13.png")
- [ ![Screenshot&#95;2015-04-16&#95;21&#95;51&#95;52.png](/forum/attachment/23817) ](/forum/attachment/23817 "...6&#95;21&#95;51&#95;52.png") [ ](/forum/attachment/23817?download=1 "...6&#95;21&#95;51&#95;52.png")

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

11 years 6 months ago [\#198871](#198871) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Remove warning messages inside emails to customer](/forum/33-customers/876420-remove-warning-messages-inside-emails-to-customer#198871 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.38 -- Browser(s) name and version -- : Safari 8.0.5(Mac), Chrome (Mac) 41.0.2272.118 (64-bit) -- Error-message(debug-mod must be tuned on) -- : These are displayed inside customer emails:  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 53  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 56  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 57  Hello:  1) Now trying to edit the email content by going to System&gt; email. I have not had much luck with it. I'm trying to remove billing address information from all of our emails to our vendors. Do you think you could give me some direction as to what to edit or delete...and if I should be editing the HTML or the two sections below that?  2) Been testing orders and notice that emails are being sent out by the system with warning messages, would you know if I have done something wrong to cause these?  At the top of outgoing emails to customer (Your order No. PD0066 is now confirmed at....)  The status of your order No. PD0066 has been changed to confirmed. Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 53  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 56  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 57  ============================  At the top of outgoing emails to Vendors (Your order No. B3L3 is now confirmed at...)  Notice: Undefined index: in /home4/dennis3m/public&#95;html/plugins/system/languagefilter/languagefilter.php on line 172  Notice: Trying to get property of non-object in /home4/dennis3m/public&#95;html/plugins/system/languagefilter/languagefilter.php on line 172  Notice: Undefined offset: 201 in /home4/dennis3m/public&#95;html/media/com&#95;hikamarket/mail/order&#95;status&#95;notification.preload.php on line 115  Notice: Use of undefined constant JPATH&#95;COMPONENT - assumed 'JPATH&#95;COMPONENT' in /home4/dennis3m/public&#95;html/libraries/legacy/view/legacy.php on line 164")*

Hi,

As you understand, we can't help you on the warning which are not related to HikaShop ; so we can't help you for the the system "languagefilter" or the "viewlegacy" parts.
About the email, as you see it is the "order_status_notification.html.**modified**" ; which mean that you have modified the email.
And because there is no more PHP in the official HikaShop "order_status_notification.html" mail ; I think that you have inserted the PHP yourself.
So it won't be possible for us to give you an answer for some code we do not know or we did not wrote.

My recommendation is to not use PHP in the "html" part but just HTML and tags.
You can put some PHP in the "preload" part of the email ; it will be easier for the organisation and you will be able to access to much more elements.

About the tags, you can have content tags (to display something) but there is also conditional tags ( if ) ; you can see some example in the email with the IF for the product code.

I think it will be easier to put an IF in order to display or not the addresses and set the variable used in the IF in the email preload.

Regards,

---

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

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

- **[dennis3m](/forum/user/36804-dennis3m "View dennis3m's Profile")**
- [![dennis3m's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/flower.jpg)](/forum/user/36804-dennis3m "View dennis3m's Profile") Topic Author
- [ Offline](/forum/user/36804-dennis3m)

Less More

- Posts: 28
- Thank you received: 1
-
-

11 years 6 months ago [\#199735](#199735) by [dennis3m](/forum/user/36804-dennis3m "View dennis3m's Profile")  Replied by *[dennis3m](/forum/user/36804-dennis3m "View dennis3m's Profile")* on topic *[Remove warning messages inside emails to customer](/forum/33-customers/876420-remove-warning-messages-inside-emails-to-customer#199735 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.38 -- Browser(s) name and version -- : Safari 8.0.5(Mac), Chrome (Mac) 41.0.2272.118 (64-bit) -- Error-message(debug-mod must be tuned on) -- : These are displayed inside customer emails:  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 53  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 56  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 57  Hello:  1) Now trying to edit the email content by going to System&gt; email. I have not had much luck with it. I'm trying to remove billing address information from all of our emails to our vendors. Do you think you could give me some direction as to what to edit or delete...and if I should be editing the HTML or the two sections below that?  2) Been testing orders and notice that emails are being sent out by the system with warning messages, would you know if I have done something wrong to cause these?  At the top of outgoing emails to customer (Your order No. PD0066 is now confirmed at....)  The status of your order No. PD0066 has been changed to confirmed. Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 53  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 56  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 57  ============================  At the top of outgoing emails to Vendors (Your order No. B3L3 is now confirmed at...)  Notice: Undefined index: in /home4/dennis3m/public&#95;html/plugins/system/languagefilter/languagefilter.php on line 172  Notice: Trying to get property of non-object in /home4/dennis3m/public&#95;html/plugins/system/languagefilter/languagefilter.php on line 172  Notice: Undefined offset: 201 in /home4/dennis3m/public&#95;html/media/com&#95;hikamarket/mail/order&#95;status&#95;notification.preload.php on line 115  Notice: Use of undefined constant JPATH&#95;COMPONENT - assumed 'JPATH&#95;COMPONENT' in /home4/dennis3m/public&#95;html/libraries/legacy/view/legacy.php on line 164")*

"I think it will be easier to put an IF in order to display or not the addresses and set the variable used in the IF in the email preload."

I would like to try this suggestion. May I know which file we should addd the 'IF' statement into? If you could provide an example of how the 'IF' statement should look like, that would be tremendously helpful. Thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84NzY0MjAtcmVtb3ZlLXdhcm5pbmctbWVzc2FnZXMtaW5zaWRlLWVtYWlscy10by1jdXN0b21lcj90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 6 months ago [\#199778](#199778) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Remove warning messages inside emails to customer](/forum/33-customers/876420-remove-warning-messages-inside-emails-to-customer#199778 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.0 -- PHP version -- : 5.4.38 -- Browser(s) name and version -- : Safari 8.0.5(Mac), Chrome (Mac) 41.0.2272.118 (64-bit) -- Error-message(debug-mod must be tuned on) -- : These are displayed inside customer emails:  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 53  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 56  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 57  Hello:  1) Now trying to edit the email content by going to System&gt; email. I have not had much luck with it. I'm trying to remove billing address information from all of our emails to our vendors. Do you think you could give me some direction as to what to edit or delete...and if I should be editing the HTML or the two sections below that?  2) Been testing orders and notice that emails are being sent out by the system with warning messages, would you know if I have done something wrong to cause these?  At the top of outgoing emails to customer (Your order No. PD0066 is now confirmed at....)  The status of your order No. PD0066 has been changed to confirmed. Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 53  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 56  Warning: Creating default object from empty value in /home4/dennis3m/public&#95;html/media/com&#95;hikashop/mail/order&#95;status&#95;notification.html.modified.php on line 57  ============================  At the top of outgoing emails to Vendors (Your order No. B3L3 is now confirmed at...)  Notice: Undefined index: in /home4/dennis3m/public&#95;html/plugins/system/languagefilter/languagefilter.php on line 172  Notice: Trying to get property of non-object in /home4/dennis3m/public&#95;html/plugins/system/languagefilter/languagefilter.php on line 172  Notice: Undefined offset: 201 in /home4/dennis3m/public&#95;html/media/com&#95;hikamarket/mail/order&#95;status&#95;notification.preload.php on line 115  Notice: Use of undefined constant JPATH&#95;COMPONENT - assumed 'JPATH&#95;COMPONENT' in /home4/dennis3m/public&#95;html/libraries/legacy/view/legacy.php on line 164")*

Hi,

I don't know what code you used and thus can't say much about what should be done.
The simplest is to turn off the "error reporting" setting of the Joomla configuration and it will hide all these messages.

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

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

[](#top)
