Strangely, when I check the created text field, it says “NUMMER”, which is number in english. So I don’t know what you saw when you checked it.
Also the table prefix is wp_
Strangely when I copy the exact functions addition, into my functions.php (so without making any adjustments), I also get an 500 error. Are you sure this solution still works?