Autocorrected with underscore for curl_error in initial ternary statement should have been camelCased