catalyst / moodle-tool_trigger

Like IFTTT for Moodle: events to trigger external services. https://moodle.org/plugins/tool_trigger
Other
42 stars 27 forks source link

Deprecated message in Moodle 4.2 #214

Open vcarnemolla opened 12 months ago

vcarnemolla commented 12 months ago

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

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