Anscheinend liegt ein Bug in der neuen Version von Sharing Cart vor.
Daher würde ich erst einmal von einem Update dringendst abraten.
Von Github: I came across the same problem: It only occurs when you try to edit a course which contains the sharing cart plugin. Moodle: 3.11.1 PHP: 7.3 After reverting back to an older version, the problem disappeared.