SOLVED
Thank you “talvitie” you got it.
I may just make it more clear from my case:
My theme’s functions.php was like this..
<?php
// my original php code
?>
// empty line that caused the problem
<?php
// another php code in a new tag
?>
I just removed that empty line and the caused became as follows..
<?php
// my original php code
?>
<?php
// another php code in a new tag
?>