Echo problems in console at main.php