-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aborted upgrade 1.7 -> 1.7.1 Unsupported option "curl" passed to "Symfony\Component\HttpClient\CurlHttpClient" #3165
Comments
Something wrong with my apache2/php configuration? |
Me too with nginx / php 7.3.19 updating from the CLI using gpm selfupgrade. The error message is exactly the same. |
Got the same issue. Running the update from the admin UI seems to go successfully. If that fails too, try setting Configuration > System > Advanced > Remote Fetch Method to Auto or Fopen and update again. |
…ent\CurlHttpClient"` in `bin/gpm selfupdate` [#3165]
Thanks. I manually patched the file system/src/Grav/Console/Gpm/SelfupgradeCommand.php and now the upgrade works flawlessly. Thanks again. |
Running this in Grav root should fix the issue:
|
After replacing the 'system/src/Grav/Console/Gpm/SelfupgradeCommand.php' file, the upgrade runs without any problems. Thanks! |
Re-opening this issue. I Just got the same error. Currently on 1.7.0-rc.20
I tried the fix at #3165 (comment) and got
What now? My site is unreachable. |
In the end I downloaded |
@jeremycherfas It has been fixed in later version of Grav. you need to manually update from update package. |
When upgrading from 1.7 to 1.7.1 from the console (PHP 7.4.14 (cli))
In HttpClientTrait.php line 223:
Unsupported option "curl" passed to "Symfony\Component\HttpClient\CurlHttpClient", did you mean "auth_basic", "auth_bearer", "query", "headers", "body", "json", "user_data", "max_redirects", "http_ve
rsion", "base_uri", "buffer", "on_progress", "resolve", "proxy", "no_proxy", "timeout", "max_duration", "bindto", "verify_peer", "verify_host", "cafile", "capath", "local_cert", "local_pk", "passphra
se", "ciphers", "peer_fingerprint", "capture_peer_cert_chain", "extra", "auth_ntlm"?
The text was updated successfully, but these errors were encountered: