Fatal error: Uncaught Error: Cannot use object of type mysqli_result as array in code example
Example: Uncaught Error: Cannot use object of type mysqli_result as array
$query = "SELECT 1";
$result = $mysqli->query($query);
$followingdata = $result->fetch_assoc()