Maybe I’ve found the issue.
I’ve changed the PHPtag at the beginning of the theme’s functions.php and now it seems to work.
So the first line on this file should be:
<?php
instead of <?
I’m testing with the latest version of WP and 7.4.2 php version.