When attempting to access the coursecertificate module on the Moodle Workplace application, an error occurred indicating the absence of the method mod_coursercertificate/output/external_format_text().
I resolved this issue by adding the line require_once("$CFG->libdir/externallib.php") in the file mod/coursecertificate/classes/output/mobile.php.
Hello,
When attempting to access the coursecertificate module on the Moodle Workplace application, an error occurred indicating the absence of the method mod_coursercertificate/output/external_format_text().
I resolved this issue by adding the line require_once("$CFG->libdir/externallib.php") in the file mod/coursecertificate/classes/output/mobile.php.