Removed debug code for php errors