$plugin->version = 2021062300
PHP Notice: Trying to get property 'code' of non-object in plagiarism/compilatio/lib.php on line 1914
PHP Notice: Trying to get property 'code' of non-object in plagiarism/compilatio/lib.php on line 1918
PHP Notice: Trying to get property 'string' of non-object in plagiarism/compilatio/lib.php on line 1925
It seems function start_analyse can return a bool, an object or a string. This last case is not tested in function compilatio_startanalyse :
if ($analyse === true) {
...} else {
if ($analyse->code == 'INVALID_ID_DOCUMENT') { // lib.php line 1914
Using version 2.60 on moodle 3.10.6
It seems function
start_analyse
can return a bool, an object or a string. This last case is not tested in function compilatio_startanalyse :