When SCORM package is uploaded and it is extracted to directory public://external_package_extracted
But in another part the code check if manifest file exists in different directory public://opigno_scorm_extracted
This cause that in database there is no record in table "opigno_scorm_packages" and when you try to display SCORM package, you receive error Invalid SCORM package
Upload SCORM package into file and save
Try to acccess content with SCORM package
Error message is displayed: Invalid SCORM package
Change directory in file docroot/modules/contrib/opigno_scorm/src/OpignoScorm.php in function OpignoScorm::scormExtract
$extract_dir = 'public://external_package_extracted/scorm_' . $file->id();
Active
3.1
Code