- Posts: 25
How To / General
[Closed] Signup enrolment plugin is showing deprecated err
- dave
- Topic Author
- Offline
- Junior Member
-
Less
More
10 years 4 months ago - 10 years 4 months ago #1
by dave
[Closed] Signup enrolment plugin is showing deprecated err was created by dave
Hi,
I'm using Joomla 3.4.8 with Joomdle 1.0.5 and Moodle 2.9.4+ (Build: 20160121). I've installed the latest signup plugin (enrol_signup_moodle21_2011111501.zip) and am now getting the following error message in moodle. I've installed it via moodle and manually and end up with the same errors.
get_context_instance() is deprecated, please use context_xxxx::instance() instead.
line 3332 of /lib/deprecatedlib.php: call to debugging()
line 61 of /enrol/signup/lib.php: call to get_context_instance()
line 424 of /lib/enrollib.php: call to enrol_signup_plugin->add_course_navigation()
line 3783 of /lib/navigationlib.php: call to enrol_add_course_navigation()
line 3465 of /lib/navigationlib.php: call to settings_navigation->load_course_settings()
line 719 of /lib/pagelib.php: call to settings_navigation->initialise()
line 768 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 135 of /blocks/settings/block_settings.php: call to moodle_page->__get()
line 288 of /blocks/moodleblock.class.php: call to block_settings->get_content()
line 230 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 973 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 1025 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 473 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
line 52 of /theme/clean/layout/columns3.php: call to core_renderer->standard_head_html()
line 1015 of /lib/outputrenderers.php: call to include()
line 945 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 244 of /course/view.php: call to core_renderer->header()
If I turn the plugin off or uninstall it the errors go away. Any incite on this would be appreciated.
Thanks
I'm using Joomla 3.4.8 with Joomdle 1.0.5 and Moodle 2.9.4+ (Build: 20160121). I've installed the latest signup plugin (enrol_signup_moodle21_2011111501.zip) and am now getting the following error message in moodle. I've installed it via moodle and manually and end up with the same errors.
get_context_instance() is deprecated, please use context_xxxx::instance() instead.
line 3332 of /lib/deprecatedlib.php: call to debugging()
line 61 of /enrol/signup/lib.php: call to get_context_instance()
line 424 of /lib/enrollib.php: call to enrol_signup_plugin->add_course_navigation()
line 3783 of /lib/navigationlib.php: call to enrol_add_course_navigation()
line 3465 of /lib/navigationlib.php: call to settings_navigation->load_course_settings()
line 719 of /lib/pagelib.php: call to settings_navigation->initialise()
line 768 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 135 of /blocks/settings/block_settings.php: call to moodle_page->__get()
line 288 of /blocks/moodleblock.class.php: call to block_settings->get_content()
line 230 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 973 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 1025 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 473 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
line 52 of /theme/clean/layout/columns3.php: call to core_renderer->standard_head_html()
line 1015 of /lib/outputrenderers.php: call to include()
line 945 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 244 of /course/view.php: call to core_renderer->header()
If I turn the plugin off or uninstall it the errors go away. Any incite on this would be appreciated.
Thanks
Last edit: 10 years 4 months ago by Chris.
Please Log in or Create an account to join the conversation.
- dave
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 25
10 years 4 months ago #2
by dave
Replied by dave on topic Signup enrolment plugin is throwing deprecated errors
My bad - I had the debugging set to developer
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
10 years 4 months ago #3
by Antonio Durán
Replied by Antonio Durán on topic Signup enrolment plugin is throwing deprecated errors
Thanks for the info. We should update the plugin when we have time.
Please Log in or Create an account to join the conversation.