2020-07-09, 01:53 AM
Hi
upgrade to php 7.4 and I am getting the following error:
Notice: Trying to access array offset on value of type bool in /home/public_html/inc/db_pgsql.php on line 444
This is the code in db_pgsql.php:
Best Regards
upgrade to php 7.4 and I am getting the following error:
Notice: Trying to access array offset on value of type bool in /home/public_html/inc/db_pgsql.php on line 444
This is the code in db_pgsql.php:
function fetch_field($query, $field, $row=false)
{
if($row === false)
{
$array = $this->fetch_array($query);
return $array[$field];
///the previous line is the problem
}
else
{
return pg_fetch_result($query, $row, $field);
}
}
Best Regards