Closed turf212 closed 1 year ago
what version of the code are you using? - we dropped that constant in b1f3ade42d3878fd69cfb3e7a8a76c625f5bdaee
you probably just need to update to a newer version of the plugin?
Site is 4.2 so hadn't "discovered" the latest version in the plugin repo. Will upgrade and check.
Confirmed working OK with latest version on plugin DB!
When you run the task by hand you get the following error message:
Execute scheduled task: Course size (report_coursesize\task\report_async) ... started 16:46:19. Current memory use 13.9 MB. Generating report_coursesize cache... ... used 7 dbqueries ... used 0.15534400939941 seconds Scheduled task failed: Course size (report_coursesize\task\report_async),Undefined constant "REPORT_COURSESIZE_NUMBEROFUSERS"
The locallib.php references this constant but only index.php has something which defines it if it's missing. Changing the following the the async task sorts the issue:
Change
to