The issue is arising when I am trying to call the query; I don't see a problem with the logic of the code, but it still wants to throw an error. Line 11 is where the fetch_assoc() function is.
$mysqli->query("SELECT url FROM urls WHERE url_short = '" . $short . "'") or die($mysqli->error);
$result = $query->fetch_assoc();
$Redir = filter_var($result, FILTER_VALIDATE_URL);
$short
is set as a $_GET
variable, whereas I've tried hard coding it in; to no avail.