PHP 7.1.0 break the checkout

  • Posts: 145
  • Thank you received: 1
7 years 10 months ago #259363

-- 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: 7 years 10 months ago by Nowweb.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 10 months ago #259366

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.

  • Posts: 2
  • Thank you received: 0
7 years 10 months ago #259500

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.

  • Posts: 145
  • Thank you received: 1
7 years 10 months ago #259662

Hi Nicolas

Pleace se the attachment


Best regards
Brian
Attachments:

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 10 months ago #259663

Hi,

Thanks !
Try adding the code:

if(empty($fields[$k]->field_value) || is_string($fields[$k]->field_value))
					$fields[$k]->field_value = array();
before the 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.

  • Posts: 13
  • Thank you received: 0
7 years 5 months ago #272496

Yes, this works.

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

Time to create page: 0.095 seconds
Powered by Kunena Forum