0 - Call to a member function getMenu() on null - Registration Form

  • Posts: 356
  • Thank you received: 7
  • Hikashop Business
5 years 2 months ago #302868

-- HikaShop version -- : 4.0.2
-- Joomla version -- : 3.9.2
-- PHP version -- : 7.1

Hi,

When updating to the latest I get the following error when navigating to the registration form:

0 - Call to a member function getMenu() on null

Call to a member function getMenu() on null
/home/tack/public_html/components/com_hikashop/views/user/view.html.php:298
Call stack
# Function Location
1 () JROOT/components/com_hikashop/views/user/view.html.php:298
2 userViewUser->form() JROOT/components/com_hikashop/views/user/view.html.php:21
3 userViewUser->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
4 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:1903
5 hikashopController->display() JROOT/components/com_hikashop/controllers/user.php:200
6 userController->form() JROOT/libraries/src/MVC/Controller/BaseController.php:710
7 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:1881
8 hikashopController->execute() JROOT/components/com_hikashop/hikashop.php:92
9 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
10 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
12 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
13 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:196
14 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:63

Reverting back to 4.0.1 fixes the issue.

Many thanks.

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
5 years 2 months ago #302872

Hi,

Thank you. We've added a patch for that error. Please download again the install package on our website and install it on yours and that will add the patch and remove the problem.

The following user(s) said Thank You: grayt7, pepecortez

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

  • Posts: 356
  • Thank you received: 7
  • Hikashop Business
5 years 2 months ago #302874

Yes confirmed it works thanks.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum