Open sharpchi opened 3 weeks ago
Although I note you can set $CFG->debug_developer_debugging_as_error = false;
in your config.php file. But that kinda hides the glory of whoops.
Can do a pull request if you want, but it's just removing the get_legacy_logdata functions from the event.
Now that MDL-80206 has been implemented, this plugin is throwing errors when debugging is turned on (always on dev sites) making it almost impossible to use in a dev/staging environment.
The events: report_viewed, autobackup_deleted, backup_deleted and report_downloaded all need the get_legacy_logdata functions to be removed.
Tested on M4.5 and PHP 8.3