Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warnings encountered on M2.8 and higher #21

Open
logan-reynolds opened this issue Jul 28, 2016 · 1 comment
Open

Deprecation warnings encountered on M2.8 and higher #21

logan-reynolds opened this issue Jul 28, 2016 · 1 comment

Comments

@logan-reynolds
Copy link

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()

@halyihev
Copy link

Deprecation warnings have turned into no longer works under Moodle 3.4, as the deprecated functions are now removed. Is this plugin still under development? We have some faculty who are very much in love with it, and we would love an updated version that fixes these issues so it will work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants