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

Deprecated message in Moodle 4.2 #214

Open
vcarnemolla opened this issue Nov 9, 2023 · 0 comments
Open

Deprecated message in Moodle 4.2 #214

vcarnemolla opened this issue Nov 9, 2023 · 0 comments

Comments

@vcarnemolla
Copy link

HI! In Moodle 4.2 with 2023101600 version of event_trigger I eveive this message on the Manage page:

Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in /var/www/it.visualsoftware.academy/admin/tool/trigger/classes/output/manageworkflows/renderable.php on line 206

and also these message in the workflow history page:

_The boolean $primary is deprecated and replaced by $type, use single_button::BUTTON_PRIMARY or self::BUTTON_SECONDARY instead
line 907 of /lib/outputcomponents.php: call to debugging()
line 277 of /admin/tool/trigger/classes/output/workflowhistory/renderer.php: call to single_button->_construct()
line 79 of /admin/tool/trigger/classes/output/workflowhistory/renderer.php: call to tool_trigger\output\workflowhistory\renderer->rerun_all_historic_button()
line 272 of /admin/tool/trigger/history.php: call to tool_trigger\output\workflowhistory\renderer->render_workflowhistory_table()

and

The boolean $primary is deprecated and replaced by $type, use single_button::BUTTON_PRIMARY or self::BUTTON_SECONDARY instead
line 907 of /lib/outputcomponents.php: call to debugging()
line 289 of /admin/tool/trigger/classes/output/workflowhistory/renderer.php: call to single_button->__construct()
line 81 of /admin/tool/trigger/classes/output/workflowhistory/renderer.php: call to tool_trigger\output\workflowhistory\renderer->rerun_all_current_button()
line 272 of /admin/tool/trigger/history.php: call to tool_trigger\output\workflowhistory\renderer->render_workflowhistory_table()

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