I installed Moodle 3.6.2 with Fordson v3.6 release 1.2 and when I try to use the message menu appears this:
code error: moodle_database::get_in_or_equal() does not accept empty arrays
Somebody could help me?
By default get_in_or_equal does not accept empty arrays as most database servers do not support the syntax "WHERE id IN ()".
There are two options here:
- Check whether you have anything in your array or not; or
- Pass an option for the "$onemptyitems" argument to get_in_or_equal.
I'd recommend option 1.
I`m also having this problem moodle_database::get_in_or_equal() does not accept empty arrays, when i try to include a random question to an exam in moodle 3.6.3 (Build: 20190311).
I have no clue in what to do about it. Please I'll apreciate any help. Thanx a lot,