PHP 7.3 problem with modernizer
PHP 7.3 problem with modernizer
I got issue with modernizer, i put a screenshot here: https://ibb.co/JB3vwnW any suggestions?
Re: PHP 7.3 problem with modernizer
ok this helped:
find in modernizer.inc.php
// ...
if (!function_exists('mysql_insert_id')) {
function mysql_insert_id($res){
global $_db;
return mysqli_insert_id($_db->conn);
}
}
// ...
replace with
// ...
if (!function_exists('mysql_insert_id')) {
function mysql_insert_id($link = null){
global $_db;
return mysqli_insert_id(is_null($link) ? $_db->conn : $link);
}
}
// ...
find in modernizer.inc.php
// ...
if (!function_exists('mysql_insert_id')) {
function mysql_insert_id($res){
global $_db;
return mysqli_insert_id($_db->conn);
}
}
// ...
replace with
// ...
if (!function_exists('mysql_insert_id')) {
function mysql_insert_id($link = null){
global $_db;
return mysqli_insert_id(is_null($link) ? $_db->conn : $link);
}
}
// ...