Could not execute the Select Category Query in functions-link.php