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

Not compatible with moodle 4.3.2? Coding error detected get_all_user_name_fields() is deprecated. #219

Open
stargate001 opened this issue Apr 20, 2024 · 1 comment

Comments

@stargate001
Copy link

Hello,

Workfows were set up when using 4.1.2 version and it was working fine, but after upgrading moodle to 4.3.2 version the plugin shows this message when viewing workflow history:

"Coding error detected, it must be fixed by a programmer: get_all_user_name_fields() is deprecated. Please use the \core_user\fields API instead"

Can you please upgrade the plugin to work with latest moodle?

@stargate001
Copy link
Author

I'm adding debugging message from moodle:

Stack trace:
line 2795 of /lib/deprecatedlib.php: coding_exception thrown
line 87 of /admin/tool/trigger/classes/output/workflowhistory/renderer.php: call to get_all_user_name_fields()
line 272 of /admin/tool/trigger/history.php: call to tool_trigger\output\workflowhistory\renderer->render_workflowhistory_table()

In Event Trigger->Manage-> Edit trigger workflow not possible to choose "Event to monitor" either

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

1 participant