ParseError thrown

syntax error, unexpected ''. get_permalink().'' (T_CONSTANT_ENCAPSED_STRING)