Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Php 5.6 To Php 7.0 Upgrade Issue Rate Topic   - - - - -

 
  • allgaguzzi
  • Newbie
  • Trial users
  • Join Date: 31-Aug 11
  • 2 posts

Posted 13 February 2019 - 12:12 PM #1

Hi,
I am using CS-Cart 4.9.2
it works fine witith the PHP 5.6
Unfortunately, when I switch the PHP to PHP 7.0, i get the front end errors:
 

 

PHP Warning
Message
 
array_combine(): Both parameters should have an equal number of elements
Error at
 
app/functions/fn.common.php, line: 5808

 

and backend errors:
 

Message
 
array_combine(): Both parameters should have an equal number of elements
Error at
 
app/functions/fn.common.php, line: 5808
 
 
Did anybody anybody encountered this?

Kind regards

 



 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3794 posts

Posted 14 February 2019 - 06:14 AM #2

Please make sure that the app/functions/fn.common.php file is not modified in your installation. There is no array_combine function on this line in version 4.9.2. You can use the File changes detector to check the installation files

 

 

Hi,
I am using CS-Cart 4.9.2
it works fine witith the PHP 5.6
Unfortunately, when I switch the PHP to PHP 7.0, i get the front end errors:
 

 

PHP Warning
Message
 
array_combine(): Both parameters should have an equal number of elements
Error at
 
app/functions/fn.common.php, line: 5808

 

and backend errors:
 

Message
 
array_combine(): Both parameters should have an equal number of elements
Error at
 
app/functions/fn.common.php, line: 5808
 
 
Did anybody anybody encountered this?

Kind regards

 


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation