There was an unknown exception: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in line (292) of (/framework/class.database.php)