The following statement could not be sent

damien.raemy
Forums
Hello, I have lots of these errors in the logs of my server. It looks it happen when the user finishes a SCORM module and go to the next. Is it a bug or a configuration problem (missing module, other)? I tried to debug it myself and it looks like the following http PUT returns a 404: localhost/statements?statementId=a524f07e-9e61-4b00-b066-7d17448da3e8 (/var/www/html/opigno-lms/vendor/rusticisoftware/tincan/src/RemoteLRS.php line 162) The following statement could not be sent : Array ( [id] => 317b04a0-d8b8-46fb-a2a8-017ad875678c [actor] => Array ( [objectType] => Agent [name] => Damien Raemy [mbox_sha1sum] => 35100e3f6020eddf61b4e1ac65bdc5f3671f4c30 ) [verb] => Array ( [id] => http://adlnet.gov/expapi/verbs/passed [display] => Array ( [en-US] => passed ) ) [result] => Array ( [score] => Array ( [scaled] => -1 [raw] => 10 [min] => 0 [max] => 10 ) [success] => 1 [completion] => 1 [duration] => PT1H51M16S ) [context] => Array ( [contextActivities] => Array ( [grouping] => Array ( [0] => Array ( [objectType] => Activity [id] => http://localhost/group/4 [definition] => Array ( [type] => http://activitystrea.ms/schema/1.0/group ) ) ) ) [language] => en ) [timestamp] => 2019-03-05T09:37:25.218+00:00 [object] => Array ( [objectType] => Activity [id] => http://localhost/module/2 [definition] => Array ( [type] => http://adlnet.gov/expapi/activities/module [name] => Array ( [en-US] => Episode 0 - Einfuhrung in die Informationssicherhe ) ) ) )
damien.raemy

After some researches, I

After some researches, I found that LRS server is not a part of Opigno server as I though. The solution would be to disable LRS server. I'm now searching how.
damien.raemy

Resolved !

I found in the code that I can disable the sending of data to a LRS server by setting all configs in /admin/opigno/system/tincan to blank