Error Course certificita

Error Course certificita

Greta Tünkler
Vastuste arv 1
Hello to you all,
maybe one of you can give me advice.
I use the certificate function in moodle. Most of the participants use the app.
Now the app shows methe following Error:

Error
Call to undefined function mod_coursecertificate\outpu\external_format_text()

I already used a new template because I thought it has something to do with the upgrading to the new version, but the error still occurs.
Can somebody help me?

Kind regards
Greta


Manus WhatsApp Image 2023-07-28 at 11.46.03 AM.jpeg
Keskmine hinnang: -
Vastuses Greta Tünkler

Re: Error Course certificita

Leon Stringer
Core developers pilt Particularly helpful Moodlers pilt

You could try editing the file mod/coursecertificate/classes/output/mobile.php inserting line 26 below:

    ⋮
24 use tool_certificate\template;
25
26 require_once($CFG->libdir . '/externallib.php');
27
28 /**
    ⋮