Removed debug logging to error_log().