Coding problem: $PAGE->context was not set. You may have forgotten to call require_login() or $PAGE->set_context(). The page may not display correctly as a result
line 577 of /lib/pagelib.php: call to debugging()
line 965 of /lib/pagelib.php: call to moodle_page->magic_get_context()
line 88 of /blocks/learnerscript/classes/observer.php: call to moodle_page->__get()
line ? of unknownfile: call to block_learnerscript_observer::ls_timestats()
line 155 of /lib/classes/event/manager.php: call to call_user_func()
line 75 of /lib/classes/event/manager.php: call to core\event\manager::process_buffers()
line 795 of /lib/classes/event/base.php: call to core\event\manager::dispatch()
line 4130 of /lib/moodlelib.php: call to core\event\base->trigger()
line 2326 of /lib/moodlelib.php: call to complete_user_login()
line 50 of /user/profile.php: call to require_login()
Warning: file_get_contents(https://ipinfo.io/172.31.15.215): Failed to open stream: HTTP request failed! HTTP/1.1 429 Too Many Requests
in /mnt/data/sites/CLSprod/http/blocks/learnerscript/classes/observer.php on line 39