[OJS] Scheduled task not work


For a few days, I see that no metrics are registered and are not displayed in the articles of my OJS platform. And when I try to run php tools/runScheduledTasks.php plugins/generic/usageStats/scheduledTasks.xml, I get the following error:

Invalid address:  (From): root@localhost

And the graph of the metrics looks as follows:


I am getting the same error. @diegomejia07 how did you solve it?