- Posts: 69
- Thank you received: 0
warning after registration
13 years 2 months ago #123386
by dreads
warning after registration was created by dreads
-- 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
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.
Less
More
- Posts: 12953
- Thank you received: 1778
13 years 2 months ago #123387
by Mohamed Thelji
Replied by Mohamed Thelji on topic warning after registration
Hi,
I think that you'll find more information about this issue through this thread :
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.
13 years 2 months ago #123393
by dreads
Replied by dreads on topic warning after registration
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.
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.
Less
More
- Posts: 12953
- Thank you received: 1778
13 years 2 months ago #123402
by Mohamed Thelji
Replied by Mohamed Thelji on topic warning after registration
Ok, and can you replace your "Your Website\components\com_hikashop\controllers\checkout.php" file, by :
This attachment is hidden for guests.
Please log in or register to see it.
Please log in or register to see it.
The following user(s) said Thank You: dreads
Please Log in or Create an account to join the conversation.
13 years 2 months ago #123945
by dreads
Replied by dreads on topic warning after registration
Perfect. Thanks.
Please Log in or Create an account to join the conversation.
Time to create page: 0.072 seconds