π | Opigno Learning path | Missing $group_id argument calling opigno_learning_path_get_step_progress
πΊπΈUnited States jeremy at monarch digital
jeremy at monarch digital β created an issue.
π | Opigno module | AssertionError: assert(is_numeric($result) && !empty($result)) in assert() (line 744 of modules/contrib/opigno_module/src/Entity/OpignoModule.php)
πΊπΈUnited States jeremy at monarch digital
π | Opigno module | AssertionError: assert(is_numeric($result) && !empty($result)) in assert() (line 744 of modules/contrib/opigno_module/src/Entity/OpignoModule.php)
πΊπΈUnited States jeremy at monarch digital
π | Opigno module | AssertionError: assert(is_numeric($result) && !empty($result)) in assert() (line 744 of modules/contrib/opigno_module/src/Entity/OpignoModule.php)
πΊπΈUnited States jeremy at monarch digital
This issue looks like mine:
AssertionError: assert(is_numeric($result) && !empty($result)) in assert() (line 746 of modules/contrib/opigno_module/src/Entity/OpignoModule.php).
Drupal\opigno_module\Entity\OpignoModule->getGroupIdCurrentTraining() (Line: 435)
Drupal\opigno_module\Entity\OpignoModule->getModuleAttempts() (Line: 2875)
opigno_learning_path_get_module_activities() (Line: 3000)
opigno_learning_path_get_step_progress() (Line: 3052)
opigno_learning_path_get_step_status() (Line: 107)
Drupal\opigno_learning_path\Progress->getProgress() (Line: 166)
Rather than remove the assertion mentioned, I added a group_id to this call:
opigno_learning_path_get_step_status() (Line: 107)