Trying to add handler for unknown type error

Trying to add handler for unknown type error

by Filip Karagiannis -
Number of replies: 0

Greetings!

I am a computer science student about to complete his first bachelor's degree and for fun and educational purposes I've been trying to develop a moodle resource plugin that enables users to include IIIF links as content in courses. So far I've cloned the "external url" plugin that moodle offers and I am currently developing on that.

The version of Moodle I am using is 3.9+ (Build: 20200704) and was installed with the Moodle installer package for Windows.

The error being displayed in debug mode on the front page if Turn editing is enabled.

Coding error detected, it must be fixed by a programmer: Trying to add handler for unknown type i3f

More information about this error

×Debug info:
Error code: codingerror
×Stack trace:
  • line 219 of \course\dnduploadlib.php: coding_exception thrown
  • line 167 of \course\dnduploadlib.php: call to dndupload_handler->register_type_handler()
  • line 45 of \course\dnduploadlib.php: call to dndupload_handler->__construct()
  • line 3280 of \course\lib.php: call to dndupload_add_to_course()
  • line 119 of \index.php: call to include_course_ajax()

So far I have no idea what to do to fix this as I haven't found what is causing this, any insight would be greatly appreciated as I am still trying to learn.

Thank you for your time.

Average of ratings: -