warning after registration

  • Posts: 69
  • Thank you received: 0
11 years 8 months ago #123386

-- Joomla version -- : 1.5.26

Hello,

My problem is that, after I checked in HikaShop, I get the following warning, although registration is carried out correctly.

Warning: in_array() expects parameter 2 to be array, null given in /home/domain/public_html/components/com_hikashop/controllers/checkout.php on line 770

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

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #123387

Hi,

I think that you'll find more information about this issue through this thread :

I think that you'll just have to edit the file "Your Website\components\com_hikashop\controllers\checkout.php", and change this line :
if(in_array($m->shipping_id.'@'.$key, $shipping_ids) && in_array($m->shipping_type.'@'.$key, $shipping_methods)) {
By :
if(is_array($shipping_ids) && is_array($shipping_methods) && in_array($m->shipping_id.'@'.$key, $shipping_ids) && in_array($m->shipping_type.'@'.$key, $shipping_methods)) {

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

  • Posts: 69
  • Thank you received: 0
11 years 8 months ago #123393

No good.

If I do that, when I try to access the shopping cart, the screen stays blank, without actually access the shopping cart screen.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #123402

Ok, and can you replace your "Your Website\components\com_hikashop\controllers\checkout.php" file, by :

File Attachment:

File Name: h1c2d194.zip
File Size:12 KB

Attachments:
The following user(s) said Thank You: dreads

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

  • Posts: 69
  • Thank you received: 0
11 years 8 months ago #123945

Perfect. Thanks.

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

Time to create page: 0.077 seconds
Powered by Kunena Forum