ParseError thrown

syntax error, unexpected token "{"

Error thrown

Call to undefined function wp_get_current_user()