I am using moodle 2.2 and i want to fetch some useful information of user on certificate
when i wrote this code to fetch
certificate_print_text($pdf, $x+120, $y+30, 'C', 'Helvetica', '', 14, $questionnaire->view_response($rid));
it give error
TCPDF ERROR: Some data has already been output, can't send PDF file
and certificate saved without fetching that information