Hi Nicolas, the database schema in Moodle 4.0 changed from that of Moodle 3. You need to be running CodeRunner 5.0 or later with Moodle 4.0. CodeRunner V5.1.1 is available either from GitHub (https://github.com/trampgeek/moodle-qtype_coderunner) or the Moodle plugin repository (https://moodle.org/plugins/qtype_coderunner).
Forum
Developers' Forum
Error at Create a CodeRunner Question
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 5 posting(s) in 1 day