Hi, I'm having multiple error in cron, can you please advise what is the issue and how to fix it?
Warning: Undefined variable $USER in/mod/mootyper/classes/task/cron_task.php on line 61
Warning: Attempt to read property "id" on null in /mod/mootyper/classes/task/cron_task.php on line 61
Warning: Undefined variable $someerror in /mod/mootyper/classes/task/cron_task.php on line 69
Hi, I'm having multiple error in cron, can you please advise what is the issue and how to fix it?