Callback before_http_headers in local_creditreservationrestrict component should be migrated to new hook callback for core\hook\output\before_http_headers
line 7216 of /lib/moodlelib.php: call to debugging()
line 7280 of /lib/moodlelib.php: call to {closure}()
line 47 of /lib/classes/hook/output/before_http_headers.php: call to get_plugins_with_function()
line 858 of /lib/classes/output/core_renderer.php: call to core\hook\output\before_http_headers->process_legacy_callbacks()
line ? of unknownfile: call to core\output\core_renderer->header()
line 109 of /lib/classes/output/bootstrap_renderer.php: call to call_user_func_array()
line 69 of /user/view.php: call to core\output\bootstrap_renderer->__call()