Remove duplicate require_once of admin/index.php from functions.php, which resulted in PHP parse error: syntax error, unexpected '--'.