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

error when adding activity #43

Open
SYoung3000 opened this issue Aug 23, 2024 · 0 comments
Open

error when adding activity #43

SYoung3000 opened this issue Aug 23, 2024 · 0 comments

Comments

@SYoung3000
Copy link

SYoung3000 commented Aug 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant