Product Display Error after 5.0.0 upgrade

  • Posts: 39
  • Thank you received: 2
  • Hikaserial Standard Hikashop Business
1 year 1 month ago #355771

-- HikaShop version -- : 5.0.0
-- Joomla version -- : 3.10.12
-- PHP version -- : 7.4.33
-- Error-message(debug-mod must be tuned on) -- : Call to a member function get() on null
/chroot/home/offering/offeringsjewelry.com/html/components/com_hikashop/views/product/tmpl/show_quantity.php:11

Call stack
# Function Location
1 () JROOT/components/com_hikashop/views/product/tmpl/show_quantity.php:11
2 include() JROOT/libraries/src/MVC/View/HtmlView.php:701
3 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2894
4 hikashopView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:230
5 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2848
6 hikashopView->display() JROOT/components/com_hikashop/views/product/view.html.php:29
7 ProductViewProduct->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:934
8 hikashop_getLayout() JROOT/administrator/components/com_hikashop/helpers/cart.php:196
9 hikashopCartHelper->displayButton() JROOT/templates/newlifestyle/html/com_hikashop/product/quantity.php:125
10 include() JROOT/libraries/src/MVC/View/HtmlView.php:701
11 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2894
12 hikashopView->loadTemplate() JROOT/templates/newlifestyle/html/com_hikashop/product/show_default.php:148
13 include() JROOT/libraries/src/MVC/View/HtmlView.php:701
14 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2894
15 hikashopView->loadTemplate() JROOT/components/com_hikashop/views/product/tmpl/show.php:97
16 include() JROOT/libraries/src/MVC/View/HtmlView.php:701
17 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2894
18 hikashopView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:230
19 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2848
20 hikashopView->display() JROOT/components/com_hikashop/views/product/view.html.php:29
21 ProductViewProduct->display() JROOT/libraries/src/MVC/Controller/BaseController.php:664
22 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2557
23 hikashopController->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2270
24 hikashopController->show() JROOT/libraries/src/MVC/Controller/BaseController.php:702
25 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2535
26 hikashopController->execute() JROOT/components/com_hikashop/hikashop.php:88
27 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
28 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
29 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
30 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
31 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:225
32 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49

Please advise on how to fix.

Please Log in or Create an account to join the conversation.

  • Posts: 39
  • Thank you received: 2
  • Hikaserial Standard Hikashop Business
1 year 1 month ago #355773

We have commented out line 11 temporarily in order to get our client's shop back working again, but will still need a fix.

Please Log in or Create an account to join the conversation.

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
1 year 1 month ago #355786

Hello,

Can you provide these elements :
- Url Link to your backend (administrator)
- User acces references (with maximum ACL)

Note, use our Contact us form to provide these elements, and don't forget to add an Url link to this topic.
Regards

Last edit: 1 year 1 month ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 39
  • Thank you received: 2
  • Hikaserial Standard Hikashop Business
1 year 1 month ago #355804

Sent

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
1 year 1 month ago #355805

Hi,

Thank you.
We've made a patch in order to fix that problem.
Download again the install package of HikaShop on our website and install it on yours to get the patch. You should then not have the error anymore.

Please Log in or Create an account to join the conversation.

  • Posts: 39
  • Thank you received: 2
  • Hikaserial Standard Hikashop Business
1 year 1 month ago #355841

This did not resolve the issue.

I have left line 11 in the show_quantity.php view so that you can see the direct issue. Please respond ASAP so that I can comment it back out again so that the shop is back up and running for our clients.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
1 year 1 month ago #355842

Hi,

I checked the error in your URL and the error is not the same as the one before.
Before the error was on line 11 of the file components/com_hikashop/views/product/tmpl/show_quantity.php
At the moment, the error is on line 11 of the file /templates/newlifestyle/html/com_hikashop/product/show_quantity.php
This file is a view override of the file components/com_hikashop/views/product/tmpl/show_quantity.php stored in your Joomla template.
This view override won't be affected by the change I made in components/com_hikashop/views/product/tmpl/show_quantity.php
Remove that view override and you'll get the patch I made.
Note that with the patch I made the code where the problem happened is not on line 11 in components/com_hikashop/views/product/tmpl/show_quantity.php
So it's not possible to get the exact same error with it.

Please Log in or Create an account to join the conversation.

Time to create page: 0.049 seconds
Powered by Kunena Forum