PHP 7.1.0 break the checkout
9 years 8 months ago - 9 years 8 months ago #259363
by Nowweb
Best regards
Brian
PHP 7.1.0 break the checkout was created by Nowweb
-- url of the page with the problem -- :
www.ph-import.dk
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.0.14
Hi there
When i update my PHP7.0.14 to PHP 7.1.0 it fail when i go to the checkout.
When i turn it back to PHP 7.0.14 i is working fine.
It is the same result on all domains i uses.
Any plans to update the Hikashop to latest PHP version?
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.0.14
Hi there
When i update my PHP7.0.14 to PHP 7.1.0 it fail when i go to the checkout.
When i turn it back to PHP 7.0.14 i is working fine.
It is the same result on all domains i uses.
Any plans to update the Hikashop to latest PHP version?
Best regards
Brian
Last edit: 9 years 8 months ago by Nowweb.
Please Log in or Create an account to join the conversation.
9 years 8 months ago #259366
by nicolas
Replied by nicolas on topic PHP 7.1.0 break the checkout
Hi,
I myself have PHP 7.1 on my dev website with HikaShop 2.6.4 on it and the checkout works fine.
So it must be a problem which only happens in some cases.
Please provide the error message that you get so that we can understand what's going on.
I myself have PHP 7.1 on my dev website with HikaShop 2.6.4 on it and the checkout works fine.
So it must be a problem which only happens in some cases.
Please provide the error message that you get so that we can understand what's going on.
Please Log in or Create an account to join the conversation.
9 years 8 months ago #259500
by jppizzio
Replied by jppizzio on topic PHP 7.1.0 break the checkout
Any plans to update the Hikashop to latest PHP version? 7.1.0 whithout error 500
Please Log in or Create an account to join the conversation.
9 years 8 months ago #259662
by Nowweb
Best regards
Brian
Replied by Nowweb on topic PHP 7.1.0 break the checkout
Best regards
Brian
Please Log in or Create an account to join the conversation.
9 years 8 months ago #259663
by nicolas
Replied by nicolas on topic PHP 7.1.0 break the checkout
Hi,
Thanks !
Try adding the code:
before the code:
in the file administrator/components/com_hikashop/classes/field.php and that should help.
Thanks !
Try adding the code:
Code:
if(empty($fields[$k]->field_value) || is_string($fields[$k]->field_value))
$fields[$k]->field_value = array();
Code:
$fields[$k]->field_value[$zone->zone_namekey]=$obj;
Please Log in or Create an account to join the conversation.
9 years 3 months ago #272496
by kovoks
Replied by kovoks on topic PHP 7.1.0 break the checkout
Yes, this works.
Please Log in or Create an account to join the conversation.
Time to create page: 0.205 seconds