Skip to content

Deprecated message in Moodle 4.2 #214

@vcarnemolla

Description

@vcarnemolla

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions