Managed to trigger these notices when updating a scorm activity and changing the package. (Note I have used this package before and in fact made this change before as well, not sure what triggered these notices this time only).
Notice: Undefined variable: sco in /var/www/development/mod/scorm/locallib.php on line 1513
Notice: Trying to get property of non-object in /var/www/development/mod/scorm/locallib.php on line 1513
Notice: Undefined property: stdClass::$sco in /var/www/development/mod/scorm/player.php on line 137
Notice: Trying to get property of non-object in /var/www/development/mod/scorm/player.php on line 154
Notice: Trying to get property of non-object in /var/www/development/mod/scorm/player.php on line 157
Notice: Trying to get property of non-object in /var/www/development/mod/scorm/player.php on line 158
Notice: Trying to get property of non-object in /var/www/development/mod/scorm/player.php on line 167
These were found when adding a scorm activity as a teacher and then viewing it as a student.
Cheers
Sam