ParseError thrown

syntax error, unexpected 'add_head_attributes' (T_STRING), expecting ',' or ';'