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

#   order\_admin\_notification.html.modified.php

##

- **[olddirtret](/forum/user/7508-olddirtret "View olddirtret's Profile")**
- [![olddirtret's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7508.GIF)](/forum/user/7508-olddirtret "View olddirtret's Profile") Topic Author
- [ Offline](/forum/user/7508-olddirtret)

Less More

- Posts: 23
- Thank you received: 2
-
-

12 years 9 months ago [\#142767](#142767) by [olddirtret](/forum/user/7508-olddirtret "View olddirtret's Profile")  *[order\_admin\_notification.html.modified.php](/forum/35-orders-management/865635-order-admin-notification-html-modified-php#142767 "-- url of the page with the problem -- :   compministry.org  -- HikaShop version -- :2,2.3 -- Joomla version -- : 2.5.17 -- PHP version -- :5.4  Note: Our Internet Hosting company just upgraded PHP from 5.2 to 5.4  This error occurs in the email notification message sent to Computer Ministry  -- Error-message(Displayed on email)- Warning: Creating default object from empty value in /home3/compmini/public&#95;html/media/com&#95;hikashop/mail/order&#95;admin&#95;notification.html.modified.php on line 57")* was created by *[olddirtret](/forum/user/7508-olddirtret "View olddirtret's Profile")*

-- url of the page with the problem -- : [ compministry.org](http://compministry.org)
-- HikaShop version -- :2,2.3
-- Joomla version -- : 2.5.17
-- PHP version -- :5.4

Note: Our Internet Hosting company just upgraded PHP from 5.2 to 5.4

This error occurs in the email notification message sent to Computer Ministry

-- Error-message(Displayed on email)-
Warning: Creating default object from empty value in /home3/compmini/public_html/media/com_hikashop/mail/order_admin_notification.html.modified.php on line 57

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 9 months ago [\#142812](#142812) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[order\_admin\_notification.html.modified.php](/forum/35-orders-management/865635-order-admin-notification-html-modified-php#142812 "-- url of the page with the problem -- :   compministry.org  -- HikaShop version -- :2,2.3 -- Joomla version -- : 2.5.17 -- PHP version -- :5.4  Note: Our Internet Hosting company just upgraded PHP from 5.2 to 5.4  This error occurs in the email notification message sent to Computer Ministry  -- Error-message(Displayed on email)- Warning: Creating default object from empty value in /home3/compmini/public&#95;html/media/com&#95;hikashop/mail/order&#95;admin&#95;notification.html.modified.php on line 57")*

Hi,
It seems like you've done some modifications through your order admin notification email which are creating some issue, so you should check what's wrong between the line line 57 of your file *media/com\_hikashop/mail/**order\_admin\_notification.html.modified.php*** and fix it.

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

- **[olddirtret](/forum/user/7508-olddirtret "View olddirtret's Profile")**
- [![olddirtret's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7508.GIF)](/forum/user/7508-olddirtret "View olddirtret's Profile") Topic Author
- [ Offline](/forum/user/7508-olddirtret)

Less More

- Posts: 23
- Thank you received: 2
-
-

12 years 9 months ago [\#142832](#142832) by [olddirtret](/forum/user/7508-olddirtret "View olddirtret's Profile")  Replied by *[olddirtret](/forum/user/7508-olddirtret "View olddirtret's Profile")* on topic *[order\_admin\_notification.html.modified.php](/forum/35-orders-management/865635-order-admin-notification-html-modified-php#142832 "-- url of the page with the problem -- :   compministry.org  -- HikaShop version -- :2,2.3 -- Joomla version -- : 2.5.17 -- PHP version -- :5.4  Note: Our Internet Hosting company just upgraded PHP from 5.2 to 5.4  This error occurs in the email notification message sent to Computer Ministry  -- Error-message(Displayed on email)- Warning: Creating default object from empty value in /home3/compmini/public&#95;html/media/com&#95;hikashop/mail/order&#95;admin&#95;notification.html.modified.php on line 57")*

Yes, we indeed did modify the file. However, it was modified almost 2 years ago and has been working without a problem.
Refer to this post.
[ www.hikashop.com/forum/4-how-to/50770-or...ion-email.html#51239](http://www.hikashop.com/forum/4-how-to/50770-ordercreationnotification-email.html#51239)

We know we need to fix it, was just looking for some direction.

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

- **[olddirtret](/forum/user/7508-olddirtret "View olddirtret's Profile")**
- [![olddirtret's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7508.GIF)](/forum/user/7508-olddirtret "View olddirtret's Profile") Topic Author
- [ Offline](/forum/user/7508-olddirtret)

Less More

- Posts: 23
- Thank you received: 2
-
-

12 years 9 months ago [\#142837](#142837) by [olddirtret](/forum/user/7508-olddirtret "View olddirtret's Profile")  Replied by *[olddirtret](/forum/user/7508-olddirtret "View olddirtret's Profile")* on topic *[order\_admin\_notification.html.modified.php](/forum/35-orders-management/865635-order-admin-notification-html-modified-php#142837 "-- url of the page with the problem -- :   compministry.org  -- HikaShop version -- :2,2.3 -- Joomla version -- : 2.5.17 -- PHP version -- :5.4  Note: Our Internet Hosting company just upgraded PHP from 5.2 to 5.4  This error occurs in the email notification message sent to Computer Ministry  -- Error-message(Displayed on email)- Warning: Creating default object from empty value in /home3/compmini/public&#95;html/media/com&#95;hikashop/mail/order&#95;admin&#95;notification.html.modified.php on line 57")*

This is Line 57

$price-&gt;price_value = $data-&gt;order_full_price-$tax;

We do not collect sales tax. Not sure if this could be the problem.

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 9 months ago [\#142845](#142845) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[order\_admin\_notification.html.modified.php](/forum/35-orders-management/865635-order-admin-notification-html-modified-php#142845 "-- url of the page with the problem -- :   compministry.org  -- HikaShop version -- :2,2.3 -- Joomla version -- : 2.5.17 -- PHP version -- :5.4  Note: Our Internet Hosting company just upgraded PHP from 5.2 to 5.4  This error occurs in the email notification message sent to Computer Ministry  -- Error-message(Displayed on email)- Warning: Creating default object from empty value in /home3/compmini/public&#95;html/media/com&#95;hikashop/mail/order&#95;admin&#95;notification.html.modified.php on line 57")*

You'll probably find your solution through this [ thread](http://stackoverflow.com/questions/17245776/error-warning-creating-default-object-from-empty-value), so if you apply it you'll have to edit your line 57 by : Code:

if ( !is_object( $price) ) { $price = new stdClass(); } $price-&gt;price_value = $data-&gt;order_full_price-$tax;

Also, note that if you don't want this kind of issue to show again you can set the "Error Reporting" option to **none** or **System default** through "*Control panel-&gt;Global configuration-&gt;Server*"

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

- **[olddirtret](/forum/user/7508-olddirtret "View olddirtret's Profile")**
- [![olddirtret's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7508.GIF)](/forum/user/7508-olddirtret "View olddirtret's Profile") Topic Author
- [ Offline](/forum/user/7508-olddirtret)

Less More

- Posts: 23
- Thank you received: 2
-
-

12 years 9 months ago [\#142897](#142897) by [olddirtret](/forum/user/7508-olddirtret "View olddirtret's Profile")  Replied by *[olddirtret](/forum/user/7508-olddirtret "View olddirtret's Profile")* on topic *[order\_admin\_notification.html.modified.php](/forum/35-orders-management/865635-order-admin-notification-html-modified-php#142897 "-- url of the page with the problem -- :   compministry.org  -- HikaShop version -- :2,2.3 -- Joomla version -- : 2.5.17 -- PHP version -- :5.4  Note: Our Internet Hosting company just upgraded PHP from 5.2 to 5.4  This error occurs in the email notification message sent to Computer Ministry  -- Error-message(Displayed on email)- Warning: Creating default object from empty value in /home3/compmini/public&#95;html/media/com&#95;hikashop/mail/order&#95;admin&#95;notification.html.modified.php on line 57")*

Reading the thread as you suggested confirms the fact that our web host update from PHP 5.2 to PHP 5.4 was quite possibly the cause of our errors. Corrected the line 57 as suggested . Will work with the fix and report how it works.

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

- **[olddirtret](/forum/user/7508-olddirtret "View olddirtret's Profile")**
- [![olddirtret's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7508.GIF)](/forum/user/7508-olddirtret "View olddirtret's Profile") Topic Author
- [ Offline](/forum/user/7508-olddirtret)

Less More

- Posts: 23
- Thank you received: 2
-
-

12 years 9 months ago [\#143091](#143091) by [olddirtret](/forum/user/7508-olddirtret "View olddirtret's Profile")  Replied by *[olddirtret](/forum/user/7508-olddirtret "View olddirtret's Profile")* on topic *[order\_admin\_notification.html.modified.php](/forum/35-orders-management/865635-order-admin-notification-html-modified-php#143091 "-- url of the page with the problem -- :   compministry.org  -- HikaShop version -- :2,2.3 -- Joomla version -- : 2.5.17 -- PHP version -- :5.4  Note: Our Internet Hosting company just upgraded PHP from 5.2 to 5.4  This error occurs in the email notification message sent to Computer Ministry  -- Error-message(Displayed on email)- Warning: Creating default object from empty value in /home3/compmini/public&#95;html/media/com&#95;hikashop/mail/order&#95;admin&#95;notification.html.modified.php on line 57")*

Thank you. Fix worked.

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

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