Notice: Undefined index: hikashop_address_data

  • Posts: 26
  • Thank you received: 0
  • Hikashop Business
8 years 5 days ago #255838

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.4
-- PHP version -- : 7.0.12
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined index: hikashop_address_data in /public_html/components/com_hikashop/views/address/view.html.php on line 101

When a user gets to the checkout and doesn't have a address yet an error notice appears:

Notice: Undefined index: hikashop_address_data in /public_html/components/com_hikashop/views/address/view.html.php on line 101

I've applied the following solution to solve it:
OPEN
components/com_hikashop/views/address/view.html.php
SEARCH
$address = $_SESSION['hikashop_address_data'];
CHANGE BY
$address = !empty($_SESSION['hikashop_address_data']) ? $_SESSION['hikashop_address_data'] : '';
SAVE & CLOSE

can you add this to Hikashop core?

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
8 years 4 days ago #255841

Hello,

Thank you for your return.

Regards

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

Time to create page: 0.051 seconds
Powered by Kunena Forum