removed error log from logic.php