Add Rapport and remove error. log in main.php