Hi ! thank you so much for your comment. I kind of did the same as you, and that's why I "saved" quickly the issue, superficially.
However, I tried to delete the course with issues, and it is not allowing me, because of that error
It's like it doesn´t want to quit my Moodle!
I received a answer from moodel cloud, they are looking into it. Thank you so much!