That errant space after "userenrolmentupdated" causes the following bug:
Can not execute event observer 'block_panopto_rollingsync::userenrolmentupdated '
line 164 of /lib/classes/event/manager.php: call to debugging()
line 75 of /lib/classes/event/manager.php: call to core\event\manager::process_buffers()
line 834 of /lib/classes/event/base.php: call to core\event\manager::dispatch()
line 2033 of /lib/enrollib.php: call to core\event\base->trigger()
line 724 of /enrol/database/lib.php: call to enrol_plugin->update_user_enrol()
line 137 of /admin/tool/uclasupportconsole/index.php: call to enrol_database_plugin->sync_enrolments()
This should be fixed in the latest release, please open a support ticket with Panopto if you encounter any further issues. I will close the associated PR as well.
In https://github.com/Panopto/Moodle-2.0-plugin-for-Panopto/blob/2019013100/db/events.php#L49 the code shows:
That errant space after "userenrolmentupdated" causes the following bug: