Table Error running Cron

Table Error running Cron

by Nicolas Guzman -
Number of replies: 0

I'm just starting with moodle and received an application that I was checking and found the an  error (attached text)  trying to run cron.php, seems to be that there is a missing table in he database, so my question is if there is a moodle plugin or a non destructive procedure to repair the database , I marked with *** the line where the error appears, it's about a missing table (task_log)

 My moodle version:

Moodle 3.8+ (Build: 20191220)

Thanks in advance for your help

______________________________________________________

ERROR TEXT

Server Time: Sun, 18 Oct 2020 08:32:11 -0500

Execute scheduled task: Tareas para calcular el uso de disco (theme_moove\task\diskusage)

... started 08:32:11. Current memory use 3.7MB.

... used 0 dbqueries

... used 14.601547002792 seconds

Scheduled task complete: Tareas para calcular el uso de disco (theme_moove\task\diskusage)

... used 1 dbqueries

... used 14.602107048035 seconds

*** Scheduled task failed: Tareas para calcular el uso de disco (theme_moove\task\diskusage),La tabla "task_log"no existe

!!! Detectado un error de codificación, debe ser corregido por un programador: A lock was created but not released at:

[dirroot]/lib/cronlib.php on line 99

 Code should look like:

 $factory = \core\lock\lock_config::get_lock_factory('type');

 $lock = $factory->get_lock(Resource id #66);

 $lock->release();  // Locks must ALWAYS be released like this.


 !!!


Average of ratings: -