make_categories_options() is deprecated !! Version 10

make_categories_options() is deprecated !! Version 10

by Naaman Fallouh -
Number of replies: 2

Hi,

After upgrading to v.10 I'm getting the following error:

make_categories_options() is deprecated. Please use \core_course_category::make_categories_list() instead.

line 3366 of /lib/deprecatedlib.php: call to debugging()
line 115 of /enrol/isis/settings.php: call to make_categories_options()
line 75 of /lib/classes/plugininfo/enrol.php: call to include()
line 150 of /admin/settings/plugins.php: call to core\plugininfo\enrol->load_settings()
line 8764 of /lib/adminlib.php: call to require()
line 26 of /admin/search.php: call to admin_get_root()

 

Any advice?

Average of ratings: -
In reply to Naaman Fallouh

Re: make_categories_options() is deprecated !! Version 10

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

Presumably you mean Moodle version 3.10?

The second line of the backtrace says:

line 115 of /enrol/isis/settings.php: call to make_categories_options()

/enrol/isis is an additional plugin, it's not part of core Moodle. This plugin is using deprecated code.

Deprecation errors are warnings that something will no longer work in a future Moodle version. If you change Debug messages to NONE (under Site administration ▸ Development ▸ Debugging) then the error should no longer appear.

You should also contact the supplier of the plugin to obtain an updated version that does not use deprecated code.

Average of ratings: Useful (1)