Hi Nourhan,
What version of Moodle are you running? If it is 2.x can you please tell me what version of the certificate module (found in mod/certificate/version.php) you are using as well as the certificate type you chose in the certificate settings for that instance?
Regards,
Mark