Member can not acces Dowloads (Error: Call to a member function)

  • Posts: 18
  • Thank you received: 0
6 years 8 months ago #288840

-- HikaShop version -- : 3.8.5
-- Joomla version -- : 3.3.0
-- PHP version -- : 7.1.14
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : Call to a member function process() on null

Hi,

After updating members can not access the downloadpage anymore. An error occures: (Error: Call to a member function)
I turned on Debug and the following information is given:

Call stack
# Function Location
1 () JROOT/components/com_hikashop/views/user/tmpl/downloads.php:15
2 include() JROOT/libraries/src/MVC/View/HtmlView.php:695
3 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2066
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:2055
6 hikashopView->display() JROOT/components/com_hikashop/views/user/view.html.php:22
7 userViewUser->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
8 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:1776
9 hikashopController->display() JROOT/components/com_hikashop/controllers/user.php:212
10 userController->downloads() JROOT/libraries/src/MVC/Controller/BaseController.php:710
11 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:1754
12 hikashopController->execute() JROOT/components/com_hikashop/hikashop.php:79
13 require_once() JROOT/libraries/src/Component/ComponentHelper.php:382
14 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:357
15 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
16 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
17 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:303
18 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49

What can I do to solve this problem?
Thanks for the support.

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
6 years 8 months ago #288844

Hi,

From what I can see, this would indicate that you're using the Starter edition. However, the download area and has always been for the commercial editions of HikaShop.
So I'm surprised you had it before the update ? Maybe there was a bug which didn't check properly the edition of your HikaShop.
Thank you for your feedback, I've added a patch on our end so that such error can't happen even in such case. However, I'm afraid that even with the patch, it won't allow you to access the download area with the Starter edition. Nevertheless, your customers already have access to their download if they open their order and in the email notifications.
If you have the error with other editions of HikaShop, then download again the install package on our website in the menu My account>My subscriptions and install it on your website again, and it will add the patch for that error.

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

  • Posts: 18
  • Thank you received: 0
6 years 8 months ago #288877

I use HikaShop Starter for 3 year now and members (registered users) always were able to download a file after a purchase.
Are you really telling me this was a bug all the time?

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 8 months ago #288881

Hello,

Yes, customers do have the possibility to download files via the links they can find in the order notification email or via the order details (under the customer order listing).
But, as Nicolas wrote ; the "download" section which can be available from the customer dashboard is only for the commercial editions of HikaShop.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 18
  • Thank you received: 0
6 years 8 months ago #288935

OK, I understand. Weird though, in all my previous versions of the Starter version the downloadsection worked fine.
Maybe you should disable the Menu-option "Customer download space" in the starter version" ...
This is confusing and results in an error in the Starter version.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 8 months ago #288937

Hello,

We will take a look at that menu which should not be available in HikaShop Starter.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.063 seconds
Powered by Kunena Forum