compilatio / moodle-plagiarism_compilatio

Compilatio.net plagiarism plugin for Moodle
4 stars 9 forks source link

In Moodle 4.4 : "Callback before_standard_top_of_body_html in plagiarism_compilatio component should be migrated to new hook callback for core\hook\output\before_standard_top_of_body_html_generation" #121

Closed ndunand closed 2 months ago

ndunand commented 5 months ago
Callback before_standard_top_of_body_html in plagiarism_compilatio component should be migrated to new hook callback for core\hook\output\before_standard_top_of_body_html_generation
line 7459 of /lib/moodlelib.php: call to debugging()
line 7573 of /lib/moodlelib.php: call to {closure}()
line 93 of /lib/classes/hook/output/before_standard_top_of_body_html_generation.php: call to get_plugins_with_function()
line 823 of /lib/outputrenderers.php: call to core\hook\output\before_standard_top_of_body_html_generation->process_legacy_callbacks()
line 219 of /lib/mustache/src/Mustache/Context.php: call to core_renderer->standard_top_of_body_html()
line 138 of /lib/mustache/src/Mustache/Context.php: call to Mustache_Context->findVariableInStack()
line 30 of ...../moodledata/44/localcache/mustache/1714049833/boost/__Mustache_4aa1b29b14b62e9eb02cc88038b79589.php: call to Mustache_Context->findDot()
line 67 of /lib/mustache/src/Mustache/Template.php: call to __Mustache_4aa1b29b14b62e9eb02cc88038b79589->renderInternal()
line 216 of /lib/outputrenderers.php: call to Mustache_Template->render()
line 107 of /theme/boost/layout/drawers.php: call to renderer_base->render_from_template()
line 1474 of /lib/outputrenderers.php: call to include()
line 1399 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 134 of /admin/settings.php: call to core_renderer->header()
benoitcompilatio commented 5 months ago

Hello,

I've fixed that on the next version's branch (3.2.0)

Fixing commits : https://github.com/compilatio/moodle-plagiarism_compilatio/commit/feb5bb718ae00bf83e9de150e5ce6d14e908c234 https://github.com/compilatio/moodle-plagiarism_compilatio/commit/676fa4b352bbdfd915d71f3970555049628a6df7

ndunand commented 5 months ago

Thanks @benoitcompilatio !