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

#   cpanel problems

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-

9 years 9 months ago -  9 years 9 months ago [\#262107](#262107) by [lefabdu51](/forum/user/47288-lefabdu51 "View lefabdu51's Profile")  *[cpanel problems](/forum/25-install-update/888798-cpanel-problems#262107 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5 Hi, I have upgraded a site with hikashop 3.0 buiseness and i have 2 problems with the cpanel menu link.  when i clic on the link see your orders : i had this error : Call to a member function trans() on null  and i can't access to the see your oreders option, so the customers can't buy their order when they already exist. i enable the debug option in joomla and i had this : Call stack # Function Location 1 JApplicationCms-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/index.php:49 2 JApplicationSite-&gt;doExecute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/cms.php:261 3 JApplicationSite-&gt;dispatch() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/site.php:230 4 JComponentHelper::renderComponent() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/site.php:191 5 JComponentHelper::executeComponent() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/component/helper.php:380 6 require&#95;once() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/component/helper.php:405 7 hikashopController-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/hikashop.php:77 8 JControllerLegacy-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1728 9 orderController-&gt;listing() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/controller/legacy.php:702 10 hikashopController-&gt;listing() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/controllers/order.php:85 11 hikashopController-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1485 12 JControllerLegacy-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1749 13 OrderViewOrder-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/controller/legacy.php:664 14 hikashopView-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/views/order/view.html.php:24 15 JViewLegacy-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:2019 16 JViewLegacy-&gt;loadTemplate() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/view/legacy.php:216 17 include() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/view/legacy.php:677  if someone has an answer for this, thanks by advance")* was created by *[lefabdu51](/forum/user/47288-lefabdu51 "View lefabdu51's Profile")*

-- HikaShop version -- : 3.0.0
-- Joomla version -- : 3.6.5
Hi,
I have upgraded a site with hikashop 3.0 buiseness and i have 2 problems with the cpanel menu link.

when i clic on the link see your orders : i had this error :
Call to a member function trans() on null

and i can't access to the see your oreders option, so the customers can't buy their order when they already exist.
i enable the debug option in joomla and i had this :
Call stack
\# Function Location
1 JApplicationCms-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/index.php:49
2 JApplicationSite-&gt;doExecute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/cms.php:261
3 JApplicationSite-&gt;dispatch() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/site.php:230
4 JComponentHelper::renderComponent() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/site.php:191
5 JComponentHelper::executeComponent() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/component/helper.php:380
6 require_once() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/component/helper.php:405
7 hikashopController-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com_hikashop/hikashop.php:77
8 JControllerLegacy-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com_hikashop/helpers/helper.php:1728
9 orderController-&gt;listing() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/controller/legacy.php:702
10 hikashopController-&gt;listing() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com_hikashop/controllers/order.php:85
11 hikashopController-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com_hikashop/helpers/helper.php:1485
12 JControllerLegacy-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com_hikashop/helpers/helper.php:1749
13 OrderViewOrder-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/controller/legacy.php:664
14 hikashopView-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com_hikashop/views/order/view.html.php:24
15 JViewLegacy-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com_hikashop/helpers/helper.php:2019
16 JViewLegacy-&gt;loadTemplate() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/view/legacy.php:216
17 include() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/view/legacy.php:677

if someone has an answer for this, thanks by advance

Last edit: 9 years 9 months ago by [lefabdu51](/forum/user/47288-lefabdu51 "View lefabdu51's Profile").

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

Less More

- Posts: 86587
- Thank you received: 14326
-
-

9 years 9 months ago [\#262120](#262120) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[cpanel problems](/forum/25-install-update/888798-cpanel-problems#262120 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5 Hi, I have upgraded a site with hikashop 3.0 buiseness and i have 2 problems with the cpanel menu link.  when i clic on the link see your orders : i had this error : Call to a member function trans() on null  and i can't access to the see your oreders option, so the customers can't buy their order when they already exist. i enable the debug option in joomla and i had this : Call stack # Function Location 1 JApplicationCms-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/index.php:49 2 JApplicationSite-&gt;doExecute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/cms.php:261 3 JApplicationSite-&gt;dispatch() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/site.php:230 4 JComponentHelper::renderComponent() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/site.php:191 5 JComponentHelper::executeComponent() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/component/helper.php:380 6 require&#95;once() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/component/helper.php:405 7 hikashopController-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/hikashop.php:77 8 JControllerLegacy-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1728 9 orderController-&gt;listing() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/controller/legacy.php:702 10 hikashopController-&gt;listing() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/controllers/order.php:85 11 hikashopController-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1485 12 JControllerLegacy-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1749 13 OrderViewOrder-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/controller/legacy.php:664 14 hikashopView-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/views/order/view.html.php:24 15 JViewLegacy-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:2019 16 JViewLegacy-&gt;loadTemplate() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/view/legacy.php:216 17 include() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/view/legacy.php:677  if someone has an answer for this, thanks by advance")*

Hi,

Add the code: Code:

$category = hikashop_get('type.categorysub'); $category-&gt;type = 'status'; $category-&gt;load(true); $this-&gt;assignRef('order_statuses',$category); $cart = hikashop_get('helper.cart'); $this-&gt;assignRef('cart',$cart); $currencyClass = hikashop_get('class.currency'); $this-&gt;assignRef('currencyHelper',$currencyClass);

after the line:
public function listing() {
in the file components/com_hikashop/views/order/view.html.php
That's because you have a view override of the orders listing view file from an old version of HikaShop and we've completely rewritten it for HikaShop 3.0.0. This code change I'm proposing will add the backward compatibility so that you should be able to keep your view override.

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

9 years 9 months ago [\#262158](#262158) by [lefabdu51](/forum/user/47288-lefabdu51 "View lefabdu51's Profile")  Replied by *[lefabdu51](/forum/user/47288-lefabdu51 "View lefabdu51's Profile")* on topic *[cpanel problems](/forum/25-install-update/888798-cpanel-problems#262158 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5 Hi, I have upgraded a site with hikashop 3.0 buiseness and i have 2 problems with the cpanel menu link.  when i clic on the link see your orders : i had this error : Call to a member function trans() on null  and i can't access to the see your oreders option, so the customers can't buy their order when they already exist. i enable the debug option in joomla and i had this : Call stack # Function Location 1 JApplicationCms-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/index.php:49 2 JApplicationSite-&gt;doExecute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/cms.php:261 3 JApplicationSite-&gt;dispatch() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/site.php:230 4 JComponentHelper::renderComponent() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/site.php:191 5 JComponentHelper::executeComponent() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/component/helper.php:380 6 require&#95;once() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/component/helper.php:405 7 hikashopController-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/hikashop.php:77 8 JControllerLegacy-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1728 9 orderController-&gt;listing() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/controller/legacy.php:702 10 hikashopController-&gt;listing() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/controllers/order.php:85 11 hikashopController-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1485 12 JControllerLegacy-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1749 13 OrderViewOrder-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/controller/legacy.php:664 14 hikashopView-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/views/order/view.html.php:24 15 JViewLegacy-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:2019 16 JViewLegacy-&gt;loadTemplate() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/view/legacy.php:216 17 include() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/view/legacy.php:677  if someone has an answer for this, thanks by advance")*

thanks. This solves the probleme.
but when i had the list, no orders appears.
I have this message for the lines 114, 116, 121, 126,189 and 193.
Notice: Trying to get property of non-object in /datas/vol3/w4a162733/var/www/domain.tld/htdocs/templates/protostarplus/html/com_hikashop/order/listing.php on line

If i delete this file, this works fine with the hikashop V3 view

Another problem i have with the cpanel is with one overriden file cpanel.php
i haven't touched your code but i had inserted a jmodulehelper function to load one specific module directly in the end of the page.
(after your last div)...
but both legacy and new css style appears in the same place.

Idem, this works fine if i delete the cpanel.php file.
your legacy functions doesnt seems to work fine for me.

So i am thinking about redoing all my overrides, unless if it is useful for you if i post everey error that i have.

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

9 years 9 months ago [\#262194](#262194) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[cpanel problems](/forum/25-install-update/888798-cpanel-problems#262194 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5 Hi, I have upgraded a site with hikashop 3.0 buiseness and i have 2 problems with the cpanel menu link.  when i clic on the link see your orders : i had this error : Call to a member function trans() on null  and i can't access to the see your oreders option, so the customers can't buy their order when they already exist. i enable the debug option in joomla and i had this : Call stack # Function Location 1 JApplicationCms-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/index.php:49 2 JApplicationSite-&gt;doExecute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/cms.php:261 3 JApplicationSite-&gt;dispatch() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/site.php:230 4 JComponentHelper::renderComponent() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/site.php:191 5 JComponentHelper::executeComponent() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/component/helper.php:380 6 require&#95;once() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/component/helper.php:405 7 hikashopController-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/hikashop.php:77 8 JControllerLegacy-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1728 9 orderController-&gt;listing() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/controller/legacy.php:702 10 hikashopController-&gt;listing() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/controllers/order.php:85 11 hikashopController-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1485 12 JControllerLegacy-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1749 13 OrderViewOrder-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/controller/legacy.php:664 14 hikashopView-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/views/order/view.html.php:24 15 JViewLegacy-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:2019 16 JViewLegacy-&gt;loadTemplate() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/view/legacy.php:216 17 include() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/view/legacy.php:677  if someone has an answer for this, thanks by advance")*

Hi,

1 - Because you have a view override, you have some old content and some code might not be fully compatible with the new internal data for order listing.
But I know that Nicolas made a commit recently in order to fix some retro-compatibility in the order listing.

2 - Without knowing on which version your override was based on, it will be difficult to tell you.
Please note that there is just "legacy" feature for the "add to cart" and the "checkout".
Afterwards, we provide a "style / default" CSS file which is a legacy CSS file ; but there is no extra "legacy" settings in HikaShop for these views.
But because HikaShop 3.0 is a major release ; a lot of content have change and we tried to improve as much as we could.
So if you have an old cpanel, you need to also have the retro-compatibility CSS to display that cpanel using the old CSS rules.
Otherwise, you can use the new cpanel design by making a new override.

Regards,

---

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

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

9 years 9 months ago [\#262260](#262260) by [lefabdu51](/forum/user/47288-lefabdu51 "View lefabdu51's Profile")  Replied by *[lefabdu51](/forum/user/47288-lefabdu51 "View lefabdu51's Profile")* on topic *[cpanel problems](/forum/25-install-update/888798-cpanel-problems#262260 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5 Hi, I have upgraded a site with hikashop 3.0 buiseness and i have 2 problems with the cpanel menu link.  when i clic on the link see your orders : i had this error : Call to a member function trans() on null  and i can't access to the see your oreders option, so the customers can't buy their order when they already exist. i enable the debug option in joomla and i had this : Call stack # Function Location 1 JApplicationCms-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/index.php:49 2 JApplicationSite-&gt;doExecute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/cms.php:261 3 JApplicationSite-&gt;dispatch() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/site.php:230 4 JComponentHelper::renderComponent() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/site.php:191 5 JComponentHelper::executeComponent() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/component/helper.php:380 6 require&#95;once() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/component/helper.php:405 7 hikashopController-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/hikashop.php:77 8 JControllerLegacy-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1728 9 orderController-&gt;listing() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/controller/legacy.php:702 10 hikashopController-&gt;listing() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/controllers/order.php:85 11 hikashopController-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1485 12 JControllerLegacy-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1749 13 OrderViewOrder-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/controller/legacy.php:664 14 hikashopView-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/views/order/view.html.php:24 15 JViewLegacy-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:2019 16 JViewLegacy-&gt;loadTemplate() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/view/legacy.php:216 17 include() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/view/legacy.php:677  if someone has an answer for this, thanks by advance")*

Hi,
My overrides are based on 2.6.4 version for hikashop.
I have begin this project 2 months ago.

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

Less More

- Posts: 86587
- Thank you received: 14326
-
-

9 years 9 months ago [\#262261](#262261) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[cpanel problems](/forum/25-install-update/888798-cpanel-problems#262261 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5 Hi, I have upgraded a site with hikashop 3.0 buiseness and i have 2 problems with the cpanel menu link.  when i clic on the link see your orders : i had this error : Call to a member function trans() on null  and i can't access to the see your oreders option, so the customers can't buy their order when they already exist. i enable the debug option in joomla and i had this : Call stack # Function Location 1 JApplicationCms-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/index.php:49 2 JApplicationSite-&gt;doExecute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/cms.php:261 3 JApplicationSite-&gt;dispatch() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/site.php:230 4 JComponentHelper::renderComponent() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/application/site.php:191 5 JComponentHelper::executeComponent() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/component/helper.php:380 6 require&#95;once() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/cms/component/helper.php:405 7 hikashopController-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/hikashop.php:77 8 JControllerLegacy-&gt;execute() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1728 9 orderController-&gt;listing() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/controller/legacy.php:702 10 hikashopController-&gt;listing() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/controllers/order.php:85 11 hikashopController-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1485 12 JControllerLegacy-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1749 13 OrderViewOrder-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/controller/legacy.php:664 14 hikashopView-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/components/com&#95;hikashop/views/order/view.html.php:24 15 JViewLegacy-&gt;display() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/administrator/components/com&#95;hikashop/helpers/helper.php:2019 16 JViewLegacy-&gt;loadTemplate() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/view/legacy.php:216 17 include() /datas/vol3/w4a162733/var/www/domain.tld/htdocs/libraries/legacy/view/legacy.php:677  if someone has an answer for this, thanks by advance")*

Hi,

Ok. Try changing the code:
$rows = $db-&gt;loadObjectList('order_id');
to:
$rows = $db-&gt;loadObjectList();
in the file components/com_hikashop/views/order/view.html.php and it should remove these warnings and display your orders with your old view override.

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

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