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

#   order\_creation\_notification.text.php error.log

##

- **[ballonsportclub](/forum/user/30773-ballonsportclub "View ballonsportclub's Profile")**
- [![ballonsportclub's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30773.png)](/forum/user/30773-ballonsportclub "View ballonsportclub's Profile") Topic Author
- [ Offline](/forum/user/30773-ballonsportclub)

Less More

- Posts: 7
- Thank you received: 0
-
-

12 years 8 months ago [\#146219](#146219) by [ballonsportclub](/forum/user/30773-ballonsportclub "View ballonsportclub's Profile")  *[order\_creation\_notification.text.php error.log](/forum/27-checkout/866273-order-creation-notification-text-php-error-log#146219 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : from Apache error.log:  Since upgrade to 2.3.0 this script order&#95;creation&#95;notification.text.php produces the errors above on every checkout.  Maybe i'm on the wrong way, but if i compare this code from order&#95;creation&#95;notification.text.php:78:  with this part from order&#95;creation&#95;notification.preload.php:400  it looks for me, that this is a old Version of order&#95;creation&#95;notification.text.php. To ensure, that this version is not just an old version on my server, i've compared it with the the original from the installation-zip, both are identical.  Greets  Michael")* was created by *[ballonsportclub](/forum/user/30773-ballonsportclub "View ballonsportclub's Profile")*

-- url of the page with the problem -- : [ mywebsite.com/mypage](http://mywebsite.com/mypage)
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.2.2
-- PHP version -- : 5.3
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : from Apache error.log: Code:

[[warn] [client XX] mod_fcgid: stderr: PHP Notice: Undefined property: stdClass::$order_addresses_fields in /media/com_hikashop/mail/order_creation_notification.text.php on line 78, referer: .../task-step/step-3.html [warn] [client XX] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /media/com_hikashop/mail/order_creation_notification.text.php on line 78, referer: .../task-step/step-3.html

Since upgrade to 2.3.0 this script order_creation_notification.text.php produces the errors above on every checkout.

Maybe i'm on the wrong way, but if i compare this code from order_creation_notification.text.php:78: Code:

foreach($data-&gt;order_addresses_fields as $field){ $fieldname = $field-&gt;field_namekey; $address =&amp; $data-&gt;order_addresses[$data-&gt;cart-&gt;billing_address-&gt;address_id]; $billing=str_replace('{'.$fieldname.'}',$fieldsClass-&gt;show($field,$address-&gt;$fieldname),$billing); } echo JText::_('HIKASHOP_BILLING_ADDRESS')."\n"; echo preg_replace('#{(?:(?!}).)*}#i','',$billing)."\n\n"; }....

with this part from order_creation_notification.preload.php:400 Code:

foreach($data-&gt;cart-&gt;fields as $field){ $fieldname = $field-&gt;field_namekey; if(!empty($data-&gt;cart-&gt;billing_address-&gt;$fieldname)) $billing=str_replace('{'.$fieldname.'}',$fieldsClass-&gt;show($field,$data-&gt;cart-&gt;billing_address-&gt;$fieldname,'user_email'),$billing); } $vars['BILLING_ADDRESS'] = str_replace(array("\r\n","\r","\n"),'&lt;br/&gt;',preg_replace('#{(?:(?!}).)*}#i','',$billing)); }

it looks for me, that this is a old Version of order_creation_notification.text.php.
To ensure, that this version is not just an old version on my server, i've compared it with the the original from the installation-zip, both are identical.

Greets

Michael

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 8 months ago [\#146270](#146270) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[order\_creation\_notification.text.php error.log](/forum/27-checkout/866273-order-creation-notification-text-php-error-log#146270 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : from Apache error.log:  Since upgrade to 2.3.0 this script order&#95;creation&#95;notification.text.php produces the errors above on every checkout.  Maybe i'm on the wrong way, but if i compare this code from order&#95;creation&#95;notification.text.php:78:  with this part from order&#95;creation&#95;notification.preload.php:400  it looks for me, that this is a old Version of order&#95;creation&#95;notification.text.php. To ensure, that this version is not just an old version on my server, i've compared it with the the original from the installation-zip, both are identical.  Greets  Michael")*

Hi,

Thanks to try with: Code:

foreach($data-&gt;cart-&gt;fields as $field){ $fieldname = $field-&gt;field_namekey; if(!empty($data-&gt;cart-&gt;billing_address-&gt;$fieldname)) $billing=str_replace('{'.$fieldname.'}',$fieldsClass-&gt;show($field,$data-&gt;cart-&gt;billing_address-&gt;$fieldname,'user_email'),$billing); } echo JText::_('HIKASHOP_BILLING_ADDRESS')."\n"; echo preg_replace('#{(?:(?!}).)*}#i','',$billing)."\n\n"; }....

The following user(s) said Thank You: [ballonsportclub](/forum/user/30773-ballonsportclub "View ballonsportclub's Profile")

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

- **[ballonsportclub](/forum/user/30773-ballonsportclub "View ballonsportclub's Profile")**
- [![ballonsportclub's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30773.png)](/forum/user/30773-ballonsportclub "View ballonsportclub's Profile") Topic Author
- [ Offline](/forum/user/30773-ballonsportclub)

Less More

- Posts: 7
- Thank you received: 0
-
-

12 years 8 months ago [\#146413](#146413) by [ballonsportclub](/forum/user/30773-ballonsportclub "View ballonsportclub's Profile")  Replied by *[ballonsportclub](/forum/user/30773-ballonsportclub "View ballonsportclub's Profile")* on topic *[order\_creation\_notification.text.php error.log](/forum/27-checkout/866273-order-creation-notification-text-php-error-log#146413 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3 -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : from Apache error.log:  Since upgrade to 2.3.0 this script order&#95;creation&#95;notification.text.php produces the errors above on every checkout.  Maybe i'm on the wrong way, but if i compare this code from order&#95;creation&#95;notification.text.php:78:  with this part from order&#95;creation&#95;notification.preload.php:400  it looks for me, that this is a old Version of order&#95;creation&#95;notification.text.php. To ensure, that this version is not just an old version on my server, i've compared it with the the original from the installation-zip, both are identical.  Greets  Michael")*

> Xavier wrote: Hi,
>
> Thanks to try with:

Hi Xavier,

As i wrote in my intial post, the quoted code is the original code from "/media/com_hikashop/mail/order_creation_notification.text.php" shipped in your .zip.
I applied your patch to it and the errors are gone. :woohoo:

Thanks!

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

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