Removed error_log statements