Hi! After upgrading to NC 23 I am constantly getting the error:
curl_setopt_array(): Array keys must be CURLOPT constants or equivalent integer values at /var/www/html/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php#70
My apps are not updated, while in the Overview I am invited to upgrade from 23 to 22.2.23.
Package versions:
OS: Centos 6.10
NC: 23.0.0.10
PHP: 7.3.25
MySQL: 5.7.36
Curl: 7.74.0 (x86_64-redhat-linux-gnu) libcurl/7.74.0 OpenSSL/1.0.1e-fips zlib/1.2.3 c-ares/1.17.1 libssh2/1.8.2
php-pear: 1.10.12
Snapshot from CurlFactory.php:
// Add handler options from the request configuration options
if (isset($options['curl'])) {
$conf = \array_replace($conf, $options['curl']);
}
$conf[\CURLOPT_HEADERFUNCTION] = $this->createHeaderFn($easy);
$easy->handle = $this->handles ? \array_pop($this->handles) : \curl_init();
curl_setopt_array($easy->handle, $conf);
Screenshot from Overview screen:
Let me also add, when I run pecl list-all
I am getting: Connection to
ssl://pecl.php.net:443’ failed:` Perhaps this is the reason?
PS Cannot downgrade to v.22