Skip to main content

PHP 7.1.0 break the checkout

More
9 years 8 months ago - 9 years 8 months ago #259363 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?

Best regards
Brian
Last edit: 9 years 8 months ago by Nowweb.

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

More
9 years 8 months ago #259366 by nicolas
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.

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

More
9 years 8 months ago #259500 by jppizzio
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.

More
9 years 8 months ago #259662 by Nowweb
Replied by Nowweb on topic PHP 7.1.0 break the checkout
Hi Nicolas

Pleace se the attachment

Best regards
Brian

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

More
9 years 8 months ago #259663 by nicolas
Hi,

Thanks !
Try adding the code:
Code:
if(empty($fields[$k]->field_value) || is_string($fields[$k]->field_value)) $fields[$k]->field_value = array();
before the code:
Code:
$fields[$k]->field_value[$zone->zone_namekey]=$obj;
in the file administrator/components/com_hikashop/classes/field.php and that should help.
The following user(s) said Thank You: csymmonds, Nowweb, kovoks, jppizzio

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

More
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
Powered by Kunena Forum