I am currently upgrading from moodle 3.1.16 to moodle 3.5.4 on a test environment. when i try to install the latest mod_booking ( version 20190104) and upgrade the database, I get the following error:
Coding error detected, it must be fixed by a programmer: moodle_database::get_in_or_equal() does not accept empty arrays
Debug info:
Error code: codingerror
Stack trace:
line 770 of /lib/dml/moodle_database.php: coding_exception thrown
line 1784 of /mod/booking/db/upgrade.php: call to moodle_database->get_in_or_equal()
line 806 of /lib/upgradelib.php: call to xmldb_booking_upgrade()
line 512 of /lib/upgradelib.php: call to upgrade_plugins_modules()
line 1857 of /lib/upgradelib.php: call to upgrade_plugins()
line 694 of /admin/index.php: call to upgrade_noncore()