Skip to content

Deprecation warnings encountered on M2.8 and higher #21

@logan-reynolds

Description

@logan-reynolds

When testing on M2.8 - 3.0 I see the following deprecation warnings when adding an instance of this module:
Function moodleform_mod::add_intro_editor() is deprecated, use moodleform_mod::standard_intro_elements() instead. line 710 of /course/moodleform_mod.php: call to debugging() line 53 of /mod/tab/mod_form.php: call to moodleform_mod->add_intro_editor() line 194 of /lib/formslib.php: call to mod_tab_mod_form->definition() line 86 of /course/moodleform_mod.php: call to moodleform->moodleform() line 254 of /course/modedit.php: call to moodleform_mod->moodleform_mod()

and the following when viewing the activity:
add_to_log() has been deprecated, please rewrite your code to the new events API line 142 of /lib/deprecatedlib.php: call to debugging() line 66 of /mod/tab/view.php: call to add_to_log()

Additionaly, I also see the following when adding an instance on M31:
'object' class has been deprecated, please use stdClass instead. line 71 of /lib/setuplib.php: call to debugging() line 156 of /mod/tab/lib.php: call to object->__construct() line 121 of /course/modlib.php: call to tab_add_instance() line 275 of /course/modedit.php: call to add_moduleinfo()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions