Use error_log instead of fprintf(STDERR, $message)