Hello guys ,
I'm new here , I hope everyone is in good health during this pandemic
I'm facing this Error , and this is what the debugging show :
Debug info: Table 'moodle.mdl_competency_usercomp' doesn't exist
SELECT COUNT('x') FROM mdl_competency_usercomp uc
JOIN mdl_competency c
ON c.id = uc.competencyid
JOIN mdl_user u
ON u.id = uc.userid
WHERE (uc.status = ?
OR (uc.status = ? AND uc.reviewerid = ?))
AND u.deleted = 0
[array (
0 => 1,
1 => 2,
2 => '2',
)]
Error code: dmlreadexception
SELECT COUNT('x') FROM mdl_competency_usercomp uc
JOIN mdl_competency c
ON c.id = uc.competencyid
JOIN mdl_user u
ON u.id = uc.userid
WHERE (uc.status = ?
OR (uc.status = ? AND uc.reviewerid = ?))
AND u.deleted = 0
[array (
0 => 1,
1 => 2,
2 => '2',
)]
Error code: dmlreadexception
Stack trace:
- line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 1227 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1624 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
- line 1697 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
- line 1907 of /lib/dml/moodle_database.php: call to moodle_database->get_field_sql()
- line 1414 of /competency/classes/api.php: call to moodle_database->count_records_sql()
- line 79 of /blocks/lp/classes/output/summary.php: call to core_competency\api::list_user_competencies_to_review()
- line 71 of /blocks/lp/block_lp.php: call to block_lp\output\summary->__construct()
- line 336 of /blocks/moodleblock.class.php: call to block_lp->get_content()
- line 230 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
- line 1181 of /lib/blocklib.php: call to block_base->get_content_for_output()
- line 1233 of /lib/blocklib.php: call to block_manager->create_block_contents()
- line 643 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
- line 218 of /theme/adaptable/layout/includes/header.php: call to core_renderer->standard_head_html()
- line 30 of /theme/adaptable/layout/dashboard.php: call to require_once()
- line 1374 of /lib/outputrenderers.php: call to include()
- line 1304 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
- line 164 of /my/index.php: call to core_renderer->header()