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

#   New Billing or Shipping Address creates an error

##

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

Less More

- Posts: 39
- Thank you received: 0
-
-
-
-

12 years 6 months ago [\#153182](#153182) by [aemont](/forum/user/31148-aemont "View aemont's Profile")  *[New Billing or Shipping Address creates an error](/forum/33-customers/867626-new-billing-or-shipping-address-creates-an-error#153182 "-- url of the page with the problem -- : http://localhost/aim -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.3 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Good evening,  I did a copy paste of the error I am seeing in my apache error log when I try to add a new billing or shipping address during the checkout process. I am not on an available host, so I am not set up for you to personally log in and see. I have tried swapping templates to see if it was my template, but everyone I have tried gives me the same component.php error message in line 5. I have copied my component.php script down at the bottom.  22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP Notice: Trying to get property of non-object in C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;templates&#92;&#92;aim&#95;hikashopa&#92;&#92;component.php on line 5, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP Stack trace:, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 1. {main}() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;index.php:0, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 2. JApplicationCms-&gt;execute() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;index.php:40, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 3. JApplicationSite-&gt;render() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;cms&#92;&#92;application&#92;&#92;cms.php:261, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 4. JApplicationCms-&gt;render() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;cms&#92;&#92;application&#92;&#92;site.php:702, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 5. JDocumentHTML-&gt;parse() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;cms&#92;&#92;application&#92;&#92;cms.php:978, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 6. JDocumentHTML-&gt;&#95;fetchTemplate() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;joomla&#92;&#92;document&#92;&#92;html&#92;&#92;html.php:452, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 7. JDocumentHTML-&gt;&#95;loadTemplate() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;joomla&#92;&#92;document&#92;&#92;html&#92;&#92;html.php:628, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 8. require() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;joomla&#92;&#92;document&#92;&#92;html&#92;&#92;html.php:570, referer: http://localhost/AIM/index.php/cart-checkout/checkout  component.php file consists of:    tml dir=&quot;ltr&quot; lang=&quot;language; ?&gt;&quot;&gt;   ink rel=&quot;stylesheet&quot; href=&quot;baseurl; ?&gt;/templates/system/css/system.css&quot; type=&quot;text/css&quot; /&gt; link rel=&quot;stylesheet&quot; href=&quot;baseurl; ?&gt;/templates/system/css/general.css&quot; type=&quot;text/css&quot; /&gt; link rel=&quot;stylesheet&quot; href=&quot;baseurl . '/templates/' . $this-&gt;template; ?&gt;/css/print.css&quot; type=&quot;text/css&quot; /&gt;        There are no customizations in any of the hikshop files.  Can you please help?  Thanks,  Ann")* was created by *[aemont](/forum/user/31148-aemont "View aemont's Profile")*

-- url of the page with the problem -- : http://localhost/aim
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.2.3
-- PHP version -- : 5.4.3
-- Browser(s) name and version -- : Firefox 28.0
-- Error-message(debug-mod must be tuned on) -- : Error_message

Good evening,

I did a copy paste of the error I am seeing in my apache error log when I try to add a new billing or shipping address during the checkout process. I am not on an available host, so I am not set up for you to personally log in and see. I have tried swapping templates to see if it was my template, but everyone I have tried gives me the same component.php error message in line 5. I have copied my component.php script down at the bottom.

22:43:51 2014] [error] [client 127.0.0.1] PHP Notice: Trying to get property of non-object in C:\\wamp\\www\\aim\\templates\\aim_hikashopa\\component.php on line 5, referer: http://localhost/AIM/index.php/cart-checkout/checkout
[Tue Apr 22 22:43:51 2014] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://localhost/AIM/index.php/cart-checkout/checkout
[Tue Apr 22 22:43:51 2014] [error] [client 127.0.0.1] PHP 1. {main}() C:\\wamp\\www\\aim\\index.php:0, referer: http://localhost/AIM/index.php/cart-checkout/checkout
[Tue Apr 22 22:43:51 2014] [error] [client 127.0.0.1] PHP 2. JApplicationCms-&gt;execute() C:\\wamp\\www\\aim\\index.php:40, referer: http://localhost/AIM/index.php/cart-checkout/checkout
[Tue Apr 22 22:43:51 2014] [error] [client 127.0.0.1] PHP 3. JApplicationSite-&gt;render() C:\\wamp\\www\\aim\\libraries\\cms\\application\\cms.php:261, referer: http://localhost/AIM/index.php/cart-checkout/checkout
[Tue Apr 22 22:43:51 2014] [error] [client 127.0.0.1] PHP 4. JApplicationCms-&gt;render() C:\\wamp\\www\\aim\\libraries\\cms\\application\\site.php:702, referer: http://localhost/AIM/index.php/cart-checkout/checkout
[Tue Apr 22 22:43:51 2014] [error] [client 127.0.0.1] PHP 5. JDocumentHTML-&gt;parse() C:\\wamp\\www\\aim\\libraries\\cms\\application\\cms.php:978, referer: http://localhost/AIM/index.php/cart-checkout/checkout
[Tue Apr 22 22:43:51 2014] [error] [client 127.0.0.1] PHP 6. JDocumentHTML-&gt;_fetchTemplate() C:\\wamp\\www\\aim\\libraries\\joomla\\document\\html\\html.php:452, referer: http://localhost/AIM/index.php/cart-checkout/checkout
[Tue Apr 22 22:43:51 2014] [error] [client 127.0.0.1] PHP 7. JDocumentHTML-&gt;_loadTemplate() C:\\wamp\\www\\aim\\libraries\\joomla\\document\\html\\html.php:628, referer: http://localhost/AIM/index.php/cart-checkout/checkout
[Tue Apr 22 22:43:51 2014] [error] [client 127.0.0.1] PHP 8. require() C:\\wamp\\www\\aim\\libraries\\joomla\\document\\html\\html.php:570, referer: http://localhost/AIM/index.php/cart-checkout/checkout

component.php file consists of:

&lt;?php
defined('_JEXEC') or die;
?&gt;
&lt;!DOCTYPE html&gt;
&lt;html dir="ltr" lang="&lt;?php echo $document-&gt;language; ?&gt;"&gt;
&lt;head&gt;
&lt;jdoc:include type="head" /&gt;
&lt;link rel="stylesheet" href="&lt;?php echo $this-&gt;baseurl; ?&gt;/templates/system/css/system.css" type="text/css" /&gt;
&lt;link rel="stylesheet" href="&lt;?php echo $this-&gt;baseurl; ?&gt;/templates/system/css/general.css" type="text/css" /&gt;
&lt;link rel="stylesheet" href="&lt;?php echo $this-&gt;baseurl . '/templates/' . $this-&gt;template; ?&gt;/css/print.css" type="text/css" /&gt;
&lt;/head&gt;
&lt;body class="contentpane"&gt;
&lt;jdoc:include type="message" /&gt;
&lt;jdoc:include type="component" /&gt;
&lt;/body&gt;
&lt;/html&gt;

There are no customizations in any of the hikshop files.

Can you please help?

Thanks,

Ann

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84Njc2MjYtbmV3LWJpbGxpbmctb3Itc2hpcHBpbmctYWRkcmVzcy1jcmVhdGVzLWFuLWVycm9yP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

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

12 years 6 months ago [\#153218](#153218) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[New Billing or Shipping Address creates an error](/forum/33-customers/867626-new-billing-or-shipping-address-creates-an-error#153218 "-- url of the page with the problem -- : http://localhost/aim -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.3 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Good evening,  I did a copy paste of the error I am seeing in my apache error log when I try to add a new billing or shipping address during the checkout process. I am not on an available host, so I am not set up for you to personally log in and see. I have tried swapping templates to see if it was my template, but everyone I have tried gives me the same component.php error message in line 5. I have copied my component.php script down at the bottom.  22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP Notice: Trying to get property of non-object in C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;templates&#92;&#92;aim&#95;hikashopa&#92;&#92;component.php on line 5, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP Stack trace:, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 1. {main}() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;index.php:0, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 2. JApplicationCms-&gt;execute() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;index.php:40, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 3. JApplicationSite-&gt;render() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;cms&#92;&#92;application&#92;&#92;cms.php:261, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 4. JApplicationCms-&gt;render() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;cms&#92;&#92;application&#92;&#92;site.php:702, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 5. JDocumentHTML-&gt;parse() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;cms&#92;&#92;application&#92;&#92;cms.php:978, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 6. JDocumentHTML-&gt;&#95;fetchTemplate() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;joomla&#92;&#92;document&#92;&#92;html&#92;&#92;html.php:452, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 7. JDocumentHTML-&gt;&#95;loadTemplate() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;joomla&#92;&#92;document&#92;&#92;html&#92;&#92;html.php:628, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 8. require() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;joomla&#92;&#92;document&#92;&#92;html&#92;&#92;html.php:570, referer: http://localhost/AIM/index.php/cart-checkout/checkout  component.php file consists of:    tml dir=&quot;ltr&quot; lang=&quot;language; ?&gt;&quot;&gt;   ink rel=&quot;stylesheet&quot; href=&quot;baseurl; ?&gt;/templates/system/css/system.css&quot; type=&quot;text/css&quot; /&gt; link rel=&quot;stylesheet&quot; href=&quot;baseurl; ?&gt;/templates/system/css/general.css&quot; type=&quot;text/css&quot; /&gt; link rel=&quot;stylesheet&quot; href=&quot;baseurl . '/templates/' . $this-&gt;template; ?&gt;/css/print.css&quot; type=&quot;text/css&quot; /&gt;        There are no customizations in any of the hikshop files.  Can you please help?  Thanks,  Ann")*

Hi,

That's a bug of your template, not HikaShop. I would recommend to contact your template provider.
That error means that the variable $document-&gt;language doesn't exist in the component.php file of the template.
So you can replace the line:
&lt;html dir="ltr" lang="&lt;?php echo $document-&gt;language; ?&gt;"&gt;

by:
&lt;html dir="ltr" lang="&lt;?php echo @$document-&gt;language; ?&gt;"&gt;

and that way you should not get the error.

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

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

Less More

- Posts: 1
- Thank you received: 0
-
-

12 years 3 weeks ago -  12 years 3 weeks ago [\#174415](#174415) by [leoreyes](/forum/user/34424-leoreyes "View leoreyes's Profile")  Replied by *[leoreyes](/forum/user/34424-leoreyes "View leoreyes's Profile")* on topic *[New Billing or Shipping Address creates an error](/forum/33-customers/867626-new-billing-or-shipping-address-creates-an-error#174415 "-- url of the page with the problem -- : http://localhost/aim -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.3 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Good evening,  I did a copy paste of the error I am seeing in my apache error log when I try to add a new billing or shipping address during the checkout process. I am not on an available host, so I am not set up for you to personally log in and see. I have tried swapping templates to see if it was my template, but everyone I have tried gives me the same component.php error message in line 5. I have copied my component.php script down at the bottom.  22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP Notice: Trying to get property of non-object in C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;templates&#92;&#92;aim&#95;hikashopa&#92;&#92;component.php on line 5, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP Stack trace:, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 1. {main}() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;index.php:0, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 2. JApplicationCms-&gt;execute() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;index.php:40, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 3. JApplicationSite-&gt;render() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;cms&#92;&#92;application&#92;&#92;cms.php:261, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 4. JApplicationCms-&gt;render() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;cms&#92;&#92;application&#92;&#92;site.php:702, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 5. JDocumentHTML-&gt;parse() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;cms&#92;&#92;application&#92;&#92;cms.php:978, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 6. JDocumentHTML-&gt;&#95;fetchTemplate() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;joomla&#92;&#92;document&#92;&#92;html&#92;&#92;html.php:452, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 7. JDocumentHTML-&gt;&#95;loadTemplate() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;joomla&#92;&#92;document&#92;&#92;html&#92;&#92;html.php:628, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 8. require() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;joomla&#92;&#92;document&#92;&#92;html&#92;&#92;html.php:570, referer: http://localhost/AIM/index.php/cart-checkout/checkout  component.php file consists of:    tml dir=&quot;ltr&quot; lang=&quot;language; ?&gt;&quot;&gt;   ink rel=&quot;stylesheet&quot; href=&quot;baseurl; ?&gt;/templates/system/css/system.css&quot; type=&quot;text/css&quot; /&gt; link rel=&quot;stylesheet&quot; href=&quot;baseurl; ?&gt;/templates/system/css/general.css&quot; type=&quot;text/css&quot; /&gt; link rel=&quot;stylesheet&quot; href=&quot;baseurl . '/templates/' . $this-&gt;template; ?&gt;/css/print.css&quot; type=&quot;text/css&quot; /&gt;        There are no customizations in any of the hikshop files.  Can you please help?  Thanks,  Ann")*

Dear Hikashop,

Thank you for your reply on the above error message.

Our template has the same error at component.php

An error message appearing everytime we click on the modifying the address or creating a new address

Fatal error: Call to undefined method JDocumentHTML::addHead() in /home/public_html/templates/tz_jollyany_joomla/component.php on line 34

Your have been advised the member to contact our template provider unfortunately , we have hard time to receive their technical support in which we addressed to your office if your could help us solve the technical issue.

Please take a look at the component.php script: Code:

&lt;?php /** * Plazart Framework * Author: Sonle * Version: 1.1 * @copyright Copyright (C) 2012 - 2013 . All rights reserved. * @license GNU General Public License version 2 or later */ // no direct access defined('_JEXEC') or die; // getting document object $doc = JFactory::getDocument(); // Check for the print page $print = JRequest::getCmd('print'); // Check for the mail page $mailto = JRequest::getCmd('option') == 'com_mailto'; $config = new JConfig(); ?&gt; &lt;!DOCTYPE html&gt; &lt;html lang="&lt;?php echo $this-&gt;language; ?&gt;" dir="&lt;?php echo $this-&gt;direction; ?&gt;"&gt; &lt;head&gt; &lt;jdoc:include type="head" /&gt; &lt;?php // $doc = JFactory::getDocument(); // PLAZART BASE HEAD $this-&gt;addHead();

the eror falls at line 34 at ...... $this-&gt;addHead()

May we request your considerate respond ..please.

Thank you and Best Regards,

Last edit: 12 years 3 weeks ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: [code] is nice !!

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

12 years 3 weeks ago -  12 years 3 weeks ago [\#174433](#174433) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[New Billing or Shipping Address creates an error](/forum/33-customers/867626-new-billing-or-shipping-address-creates-an-error#174433 "-- url of the page with the problem -- : http://localhost/aim -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.3 -- Browser(s) name and version -- : Firefox 28.0 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Good evening,  I did a copy paste of the error I am seeing in my apache error log when I try to add a new billing or shipping address during the checkout process. I am not on an available host, so I am not set up for you to personally log in and see. I have tried swapping templates to see if it was my template, but everyone I have tried gives me the same component.php error message in line 5. I have copied my component.php script down at the bottom.  22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP Notice: Trying to get property of non-object in C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;templates&#92;&#92;aim&#95;hikashopa&#92;&#92;component.php on line 5, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP Stack trace:, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 1. {main}() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;index.php:0, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 2. JApplicationCms-&gt;execute() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;index.php:40, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 3. JApplicationSite-&gt;render() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;cms&#92;&#92;application&#92;&#92;cms.php:261, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 4. JApplicationCms-&gt;render() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;cms&#92;&#92;application&#92;&#92;site.php:702, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 5. JDocumentHTML-&gt;parse() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;cms&#92;&#92;application&#92;&#92;cms.php:978, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 6. JDocumentHTML-&gt;&#95;fetchTemplate() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;joomla&#92;&#92;document&#92;&#92;html&#92;&#92;html.php:452, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 7. JDocumentHTML-&gt;&#95;loadTemplate() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;joomla&#92;&#92;document&#92;&#92;html&#92;&#92;html.php:628, referer: http://localhost/AIM/index.php/cart-checkout/checkout &#91;Tue Apr 22 22:43:51 2014&#93; &#91;error&#93; &#91;client 127.0.0.1&#93; PHP 8. require() C:&#92;&#92;wamp&#92;&#92;www&#92;&#92;aim&#92;&#92;libraries&#92;&#92;joomla&#92;&#92;document&#92;&#92;html&#92;&#92;html.php:570, referer: http://localhost/AIM/index.php/cart-checkout/checkout  component.php file consists of:    tml dir=&quot;ltr&quot; lang=&quot;language; ?&gt;&quot;&gt;   ink rel=&quot;stylesheet&quot; href=&quot;baseurl; ?&gt;/templates/system/css/system.css&quot; type=&quot;text/css&quot; /&gt; link rel=&quot;stylesheet&quot; href=&quot;baseurl; ?&gt;/templates/system/css/general.css&quot; type=&quot;text/css&quot; /&gt; link rel=&quot;stylesheet&quot; href=&quot;baseurl . '/templates/' . $this-&gt;template; ?&gt;/css/print.css&quot; type=&quot;text/css&quot; /&gt;        There are no customizations in any of the hikshop files.  Can you please help?  Thanks,  Ann")*

Hi,

We are component developers, not template developers.
Our support is for components, we do not provide support for products that we don't developed.
You can replace the line with Code:

@$this-&gt;addHead();

In order to hide the error, or just delete the line. We do not have any knowledge for that so the best is to contact the template developer and wait for their answer.
Best we can't help you for that.

For the rest, you can see our answer from the "contact us" page.
And please, do not duplicate messages using the forum and the "contact us".
Please understand that we can't reply in the minute and that during the week end, the delay is higher.

Regards,

---

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

Last edit: 12 years 3 weeks ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

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

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

[](#top)
