Exception encountered in event observer '\local_edwiserreports\observers\event_observer::user_loggedin': Error writing to database (Duplicate entry '1' for key 'mdl_edwrauth_use_uix'
INSERT INTO mdl_edwreports_authentication (userid,secret) VALUES(?,?)
-- line 1494 of /public/lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
-- line 76 of /public/local/edwiserreports/classes/controller/authentication.php: call to mysqli_native_moodle_database->insert_record()
-- line 49 of /public/local/edwiserreports/classes/observers/authentication.php: call to local_edwiserreports\controller\authentication->create_secret_key()
-- line 0 of unknownfile: call to local_edwiserreports\observers\event_observer::user_loggedin()
-- line 155 of /public/lib/classes/event/manager.php: call to call_user_func()
-- line 75 of /public/lib/classes/event/manager.php: call to core\event\manager::process_buffers()
-- line 795 of /public/lib/classes/event/base.php: call to core\event\manager::dispatch()
-- line 4140 of /public/lib/moodlelib.php: call to core\event\base->trigger()
-- line 2336 of /public/lib/moodlelib.php: call to complete_user_login()
-- line 2826 of /public/lib/moodlelib.php: call to require_login()
-- line 53 of /public/mod/resource/view.php: call to require_course_login()
[array (
0 => 1,
1 => 'JKAUu02rjM',
)])
line 346 of /public/lib/dml/moodle_read_replica_trait.php: call to moodle_database->query_end()
line 1448 of /public/lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->query_end()
line 1494 of /public/lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
line 76 of /public/local/edwiserreports/classes/controller/authentication.php: call to mysqli_native_moodle_database->insert_record()
line 49 of /public/local/edwiserreports/classes/observers/authentication.php: call to local_edwiserreports\controller\authentication->create_secret_key()
line 0 of unknownfile: call to local_edwiserreports\observers\event_observer::user_loggedin()
line 155 of /public/lib/classes/event/manager.php: call to call_user_func()
line 75 of /public/lib/classes/event/manager.php: call to core\event\manager::process_buffers()
line 795 of /public/lib/classes/event/base.php: call to core\event\manager::dispatch()
line 4140 of /public/lib/moodlelib.php: call to core\event\base->trigger()
line 2336 of /public/lib/moodlelib.php: call to complete_user_login()
line 2826 of /public/lib/moodlelib.php: call to require_login()
line 53 of /public/mod/resource/view.php: call to require_course_login()
This page did not call $PAGE->set_url(...). Using https://lms.braou.ac.in/mod/resource/view.php?id=5404
line 684 of /public/lib/pagelib.php: call to debugging()
line 965 of /public/lib/pagelib.php: call to moodle_page->magic_get_url()
line 43 of /public/local/edwiserreports/classes/hook/before_standard_head_html.php: call to moodle_page->__get()
line 0 of unknownfile: call to local_edwiserreports\hook\before_standard_head_html::execute()
line 323 of /public/lib/classes/hook/manager.php: call to call_user_func()
line 802 of /public/theme/remui/classes/output/core_renderer.php: call to core\hook\manager->dispatch()
line 219 of /public/lib/mustache/src/Mustache/Context.php: call to theme_remui\output\core_renderer->standard_head_html()
line 138 of /public/lib/mustache/src/Mustache/Context.php: call to Mustache_Context->findVariableInStack()
line 34 of /opt/www/moodledata/localcache/mustache/1784444647/remui/__Mustache_e9a0b7662b298c335697f3cdc8907933.php: call to Mustache_Context->findDot()
line 66 of /public/lib/mustache/src/Mustache/Template.php: call to __Mustache_e9a0b7662b298c335697f3cdc8907933->renderInternal()
line 192 of /public/lib/classes/output/renderer_base.php: call to Mustache_Template->render()
line 38 of /public/theme/remui/layout/embedded.php: call to core\output\renderer_base->render_from_template()
line 959 of /public/lib/classes/output/core_renderer.php: call to include()
line 875 of /public/lib/classes/output/core_renderer.php: call to core\output\core_renderer->render_page_layout()
line 805 of /public/lib/classes/output/core_renderer.php: call to core\output\core_renderer->header()
line 0 of unknownfile: call to core\output\core_renderer->redirect_message()
line 109 of /public/lib/classes/output/bootstrap_renderer.php: call to call_user_func_array()
line 2254 of /public/lib/weblib.php: call to core\output\bootstrap_renderer->__call()
line 2640 of /public/lib/moodlelib.php: call to redirect()
line 2826 of /public/lib/moodlelib.php: call to require_login()
line 53 of /public/mod/resource/view.php: call to require_course_login()
This page should automatically redirect. If nothing is happening please use the continue link below. | BRAOU Online Learning Portal