Thanks for your reply. With the debug_log I was able to see that there were errors in a lot of files in the wp-includes directory. After replacing the files one-by-one I just re-uploaded all the directory content from the wordpress archive. I think it’s working now!