[ERROR] I can't add assigment to course

[ERROR] I can't add assigment to course

ដោយ Dawid Szpunar នៅ
ចំនួនតប៖ 2

Hello, I have installed Moodle 3.9.1 and when a teacher want to add assignment to his course it gives error. I recreated that error with debug informations. None file was modified and it was working at beggining , but then somehow it stopped working.

In attachment a file with error.

មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Dawid Szpunar

Re: [ERROR] I can't add assigment to course

ដោយ Leon Stringer នៅ
រូបភាព Core developers រូបភាព Particularly helpful Moodlers

This looks like MDL-68879 (see also this reply).

Try editing lib/dml/mysqli_native_moodle_database.php changing line 1138 from:

            } else if (is_float($param)) {
                $return .= $param;
            } else {

to:

            } else if (is_float($param)) {
                $return .= str_replace(',', '.', $param);
            } else {


មធ្យមភាគនៃរង្វាយតម្លៃ:Useful (1)
ឆ្លើយតបទៅកាន់ Leon Stringer

Odp: Re: [ERROR] I can't add assigment to course

ដោយ Dawid Szpunar នៅ
Thank you very much !! It works for me now ញញឹម
មធ្យមភាគនៃរង្វាយតម្លៃ: -