Coding error detected, it must be fixed by a programmer: Function plagiarism_get_form_elements_module() has been removed. Please use {plugin name}_coursemodule_standard_elements() instead.

Coding error detected, it must be fixed by a programmer: Function plagiarism_get_form_elements_module() has been removed. Please use {plugin name}_coursemodule_standard_elements() instead.

Eriberto Jr Roxas發表於
Number of replies: 4
Hello! May I request some help and insights regarding the error we're having:

Coding error detected, it must be fixed by a programmer: Function plagiarism_get_form_elements_module() has been removed. Please use {plugin name}_coursemodule_standard_elements() instead.

More information about this error

Debug info:
Error code: codingerror×Dismiss this notification
Stack trace:
  • line 3204 of /lib/deprecatedlib.php: coding_exception thrown
  • line 221 of /mod/hsuforum/mod_form.php: call to plagiarism_get_form_elements_module()
  • line 214 of /lib/formslib.php: call to mod_hsuforum_mod_form->definition()
  • line 131 of /course/moodleform_mod.php: call to moodleform->__construct()
  • line 154 of /course/modedit.php: call to moodleform_mod->__construct()

We're really lost here. Thank you so much in advance..


評比平均分數: -
In reply to Eriberto Jr Roxas

Re: Coding error detected, it must be fixed by a programmer: Function plagiarism_get_form_elements_module() has been removed. Please use {plugin name}_coursemodule_standard_elements() instead.

Ken Task發表於
Particularly helpful Moodlers的相片
What version is your core moodle?  Higher than 4.1?

From what you have shared ... mod_hsuforum - is an addon and has a compatible version up to 4.1

Please see:

'SoS', Ken

In reply to Ken Task

Re: Coding error detected, it must be fixed by a programmer: Function plagiarism_get_form_elements_module() has been removed. Please use {plugin name}_coursemodule_standard_elements() instead.

Eriberto Jr Roxas發表於
Thanks for the help! We manually triggered an update by downloading the latest plugin file, then 'installing' it. The previous version was not marked for Upgrade in the plugins page, initially. This fixed the problem. Thank you very much!
In reply to Eriberto Jr Roxas

Re: Coding error detected, it must be fixed by a programmer: Function plagiarism_get_form_elements_module() has been removed. Please use {plugin name}_coursemodule_standard_elements() instead.

Howard Miller發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片
Are you using Turnitin? See, https://github.com/turnitin/moodle-plagiarism_turnitin/issues/448

They have failed to fix this for going on 5 years. I have long since stopped being nice or polite about it... it's pretty useless.
In reply to Howard Miller

Re: Coding error detected, it must be fixed by a programmer: Function plagiarism_get_form_elements_module() has been removed. Please use {plugin name}_coursemodule_standard_elements() instead.

Eriberto Jr Roxas發表於
Thanks for the insight! Upgrading the plugin (it wasn't marked for upgrade initially) fixed the issue we're having.