Skip to content

error when adding activity #43

@SYoung3000

Description

@SYoung3000

When adding a pulse activity to a moodle 4.2.7 instance we receive the following error. This only occurs when using a pulse activity and not the automation tab.

Coding error detected, it must be fixed by a programmer: moodle_database::get_in_or_equal() does not accept empty arrays

Stack trace:
line 778 of /lib/dml/moodle_database.php: coding_exception thrown
line 220 of /mod/pulse/classes/task/sendinvitation.php: call to moodle_database->get_in_or_equal()
line 430 of /mod/pulse/lib.php: call to mod_pulse\task\sendinvitation::get_sender()
line 2500 of /lib/modinfolib.php: call to mod_pulse_cm_info_view()
line 2532 of /lib/modinfolib.php: call to cm_info->call_mod_function()
line 1746 of /lib/modinfolib.php: call to cm_info->obtain_view_data()
line 1559 of /lib/modinfolib.php: call to cm_info->get_extra_classes()
line 106 of /course/format/classes/output/local/content/section/cmitem.php: call to cm_info->__get()
line 828 of /course/format/tiles/classes/output/course_output.php: call to core_courseformat\output\local\content\section\cmitem->export_for_template()
line 797 of /course/format/tiles/classes/output/course_output.php: call to format_tiles\output\course_output->course_module_data()
line 341 of /course/format/tiles/classes/output/course_output.php: call to format_tiles\output\course_output->section_course_mods()
line 188 of /course/format/tiles/classes/output/course_output.php: call to format_tiles\output\course_output->append_section_zero_data()
line 71 of /course/format/tiles/classes/output/renderer.php: call to format_tiles\output\course_output->export_for_template()
line 104 of /course/format/classes/output/section_renderer.php: call to format_tiles\output\renderer->render_content()
line 62 of /course/format/tiles/format.php: call to core_courseformat\output\section_renderer->render()
line 326 of /course/view.php: call to require()

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