I am using MariaDB10 PHP7 + WHMCS 7RC1 and IonCube7. When we open our test website we get the following error:
Fatal error: Cannot redeclare mysql_affected_rows() in [unknown] on line 0
I am using MariaDB10 PHP7 + WHMCS 7RC1 and IonCube7. When we open our test website we get the following error:
Fatal error: Cannot redeclare mysql_affected_rows() in [unknown] on line 0
PHP 7 removed support for the mysql_*
functions. Do not use them.
Instead, convert all the calls to mysqli_*
(and different calling sequence) or to the PDO
API.