and yes the image gallery is broken, big surprise when you comment out code. Let me know how this problem should be properly solved.
So I commented the function out in the gallery-images.php file and got the site back. No idea yet if there are other things that are broken.
So after actually reading the error message it would indeed seem that a function with the same name occurs in different files.
Anyway so how do we solve this problem?