I am receiving the following error, but it provides very little information on what is actually happening. I've followed a combination of the core cohort code and the moodle docs to create my own in place editor, but am uncertain how to debug what error is occurring. Any help would be appreciated.
I've also attached the plugin code so far as reference.
Error code: inplaceeditableerror * line 467 of /lib/external/externallib.php: moodle_exception thrown * line 244 of /lib/externallib.php: call to core_external::update_inplace_editable() * line 79 of /lib/ajax/service.php: call to external_api::call_external_function()