I am getting the following message when I click on a certificate.
The statement has been terminated.
INSERT INTO mdl_certificate_issues ( CERTIFICATEID, USERID, TIMECREATED, STUDENTNAME, CODE, CLASSNAME, CERTDATE ) VALUES ( 27, 2, 1236895928, 'Zachary Lyons', 'BXIdyuQ2ON', 'Test Course', 1236895928 )
- line 1419 of lib\dmllib.php: call to debugging()
- line 930 of mod\certificate\lib.php: call to insert_record()
- line 87 of mod\certificate\view.php: call to certificate_prepare_issue()
Notice: Trying to get property of non-object in D:\Webs\kingsway\site\mod\certificate\lib.php on line 231
Line 231 says this:
$student = $certrecord->studentname;
My certificate version is 2006101201. I know that is a bit old, but when I upgrade to the latest version for Moodle 1.8, it doesn't fix the problem.
Any help would be greatly appreciated./font>