mdjnelson / moodle-mod_customcert

Enables the creation of dynamically generated certificates with complete customisation via the web browser.
https://moodle.org/plugins/mod_customcert
GNU General Public License v3.0
90 stars 158 forks source link

Behat test failing - managing_elements.feature #496

Closed AdilIqbal95 closed 1 year ago

AdilIqbal95 commented 2 years ago

Hi, the test stated above is failing.

Environment details: MySQL 5.7 PHP 7.4 Moodle latest MOODLE_311_STABLE

Error details: And I add the element "User field" to page "1" of the "Custom certificate 1" certificate template: debugging() message/s found: Invalid get_string() identifier: 'skype' or component 'moodle'. Perhaps you are missing $string['skype'] = ''; in lang/en/moodle.php? line 353 of /lib/classes/string_manager_standard.php: call to debugging() line 7278 of /lib/moodlelib.php: call to core_string_manager_standard->get_string() line 606 of /user/classes/fields.php: call to get_string() line 55 of /mod/customcert/element/userfield/classes/element.php: call to core_user\fields::get_display_name() line 68 of /mod/customcert/classes/edit_element_form.php: call to customcertelement_userfield\element->render_form_elements() line 214 of /lib/formslib.php: call to mod_customcert\edit_element_form->definition() line 79 of /mod/customcert/edit_element.php: call to moodleform->__construct() (Exception)

mdjnelson commented 1 year ago

Closing as a duplicate of https://github.com/mdjnelson/moodle-mod_customcert/issues/497 which contains more details.