Corrected error logged to error_log