Notice: Undefined variable from menus.php

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
7 years 3 months ago #275778

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.4
-- PHP version -- : 7.0
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined variable: task in ...\administrator\components\com_hikashop\classes\menus.php on line 210

Line 210 should be replaced by...

if (!empty($task)) {
  $menu_id = (int)$this->loadAMenuItemId('checkout', $task);
}

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 3 months ago #275781

Hello,

Thanks for the report.
In fact, that's not the right patch since it's best to perform the search ; so you just need to be sure that $task is defined.
Don't worry, we will patch in the right way in our side and include it in future packages.

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.057 seconds
Powered by Kunena Forum