I just wondered:
I worked on a local copy. Maybe I did an template update on the remote and overwrote this new single.php with an old one from the local copy. Could this lead to the error? Can you send me single.php file of th actual version to check this?
your’s
Stephan