The use statement with non-compound name 'CurlHandle' has no effect

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.9.
  • Operating system and version (e.g., Ubuntu 24.04):
    • Webhoster Metanet.ch Linux 3.10.0-1160.119.1.el7.x86_64 x86_64
  • Web server and version (e.g, Apache 2.4.25):
    • unknown
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • unknown
  • PHP version (e.g, 8.3):
    • 8.3.21
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • today
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • install.php
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

[…]

Steps to replicate it (hint: details matter!):

  1. Click Nextcloud update
  2. Error:
Warning: The use statement with non-compound name 'CurlHandle' has no effect in /home/httpd/vhosts/EXAMPLE.COM/http-cloud/updater/index.php on line 50
{"proceed":true}

appear

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

Updater.log

2026-01-20T21:37:30+0100 GR86hXGxVm [info] request to updater
2026-01-20T21:37:30+0100 GR86hXGxVm [info] currentStep()
2026-01-20T21:37:30+0100 GR86hXGxVm [info] Step 1 is in state "end".
2026-01-20T21:37:30+0100 GR86hXGxVm [info] show HTML page
2026-01-20T21:37:30+0100 GR86hXGxVm [info] current version: 31.0.9 build time: 2025-09-11T13:08:10+00:00 212c97937c15dd200b7895f1fb99036c979827b2
2026-01-20T21:37:30+0100 GR86hXGxVm [info] getUpdateServerResponse()
2026-01-20T21:37:30+0100 GR86hXGxVm [info] updaterServer: https://updates.nextcloud.com/updater_server/
2026-01-20T21:37:30+0100 GR86hXGxVm [info] releaseChannel: stable
2026-01-20T21:37:30+0100 GR86hXGxVm [info] internal version: 31.0.9.1
2026-01-20T21:37:30+0100 GR86hXGxVm [info] updateURL: https://updates.nextcloud.com/updater_server/?version=31x0x9x1xxxstablexx2025-09-11T13%3A08%3A10%2B00%3A00+212c97937c15dd200b7895f1fb99036c979827b2x8x3x21
2026-01-20T21:37:30+0100 GR86hXGxVm [info] getUpdateServerResponse response: Array
(
    [version] => 31.0.13.1
    [versionstring] => Nextcloud 31.0.13
    [url] => https://download.nextcloud.com/server/releases/nextcloud-31.0.13.zip
    [downloads] => SimpleXMLElement Object
        (
            [bz2] => Array
                (
                    [0] => https://github.com/nextcloud-releases/server/releases/download/v31.0.13/nextcloud-31.0.13.tar.bz2
                    [1] => https://download.nextcloud.com/server/releases/nextcloud-31.0.13.tar.bz2
                )

            [zip] => Array
                (
                    [0] => https://github.com/nextcloud-releases/server/releases/download/v31.0.13/nextcloud-31.0.13.zip
                    [1] => https://download.nextcloud.com/server/releases/nextcloud-31.0.13.zip
                )

        )

    [web] => https://docs.nextcloud.com/server/31/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=31.0.13
    [autoupdater] => 1
    [eol] => 0
    [eolDate] => 2026-02-25
    [signature] => nthlW7YJQuzg+wMGQV8+db9sPNLhb7LLRRK9dGDKMlV5/3jOjdO8PGE95JO9GRYE
1saJIF5q7tEvhTjmo6xPhJYp1aF+yruumunaKRVAgclY3x2fX17qh/zg0cGP+0cX
z77qtWC+RDZ9qk7aRAeCrIHoE1tRdqbShLZg5GzlaStK3HQYHNge8SVvoKNOaCEb
Qisek5xnyQiZ9R/hL3LVrbWmGyZLU7pyCd5Z4lfXuDpb+RJ2HDWrC/F6NhbbzXLD
yXaoevE0efnDEtbMsFV6NTIg74dIF8e7Ntz4xyEMoQAH2E+qHe8cjISfHaikAR+p
KexPdMGZ/wmz9hmT1Oi3DA==
)

2026-01-20T21:37:30+0100 GR86hXGxVm [info] checkForUpdate() Array
(
    [version] => 31.0.13.1
    [versionstring] => Nextcloud 31.0.13
    [url] => https://download.nextcloud.com/server/releases/nextcloud-31.0.13.zip
    [downloads] => SimpleXMLElement Object
        (
            [bz2] => Array
                (
                    [0] => https://github.com/nextcloud-releases/server/releases/download/v31.0.13/nextcloud-31.0.13.tar.bz2
                    [1] => https://download.nextcloud.com/server/releases/nextcloud-31.0.13.tar.bz2
                )

            [zip] => Array
                (
                    [0] => https://github.com/nextcloud-releases/server/releases/download/v31.0.13/nextcloud-31.0.13.zip
                    [1] => https://download.nextcloud.com/server/releases/nextcloud-31.0.13.zip
                )

        )

    [web] => https://docs.nextcloud.com/server/31/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=31.0.13
    [autoupdater] => 1
    [eol] => 0
    [eolDate] => 2026-02-25
    [signature] => nthlW7YJQuzg+wMGQV8+db9sPNLhb7LLRRK9dGDKMlV5/3jOjdO8PGE95JO9GRYE
1saJIF5q7tEvhTjmo6xPhJYp1aF+yruumunaKRVAgclY3x2fX17qh/zg0cGP+0cX
z77qtWC+RDZ9qk7aRAeCrIHoE1tRdqbShLZg5GzlaStK3HQYHNge8SVvoKNOaCEb
Qisek5xnyQiZ9R/hL3LVrbWmGyZLU7pyCd5Z4lfXuDpb+RJ2HDWrC/F6NhbbzXLD
yXaoevE0efnDEtbMsFV6NTIg74dIF8e7Ntz4xyEMoQAH2E+qHe8cjISfHaikAR+p
KexPdMGZ/wmz9hmT1Oi3DA==
)

2026-01-20T21:37:30+0100 GR86hXGxVm [info] getChangelogURL()
2026-01-20T21:37:30+0100 GR86hXGxVm [info] end of checkForUpdate() Update to Nextcloud 31.0.13 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-31.0.13.zip</code><br /><a class="external_link" href="https://nextcloud.com/changelog/#31-0-13" target="_blank" rel="noreferrer noopener">Open changelog ↗</a>
2026-01-20T21:37:32+0100 LrDYtAdvOh [info] request to updater
2026-01-20T21:37:32+0100 LrDYtAdvOh [info] currentStep()
2026-01-20T21:37:32+0100 LrDYtAdvOh [info] Step 1 is in state "end".
2026-01-20T21:37:32+0100 LrDYtAdvOh [info] POST request for step "2"
2026-01-20T21:37:32+0100 LrDYtAdvOh [info] startStep("2")
2026-01-20T21:37:32+0100 LrDYtAdvOh [info] checkWritePermissions()
2026-01-20T21:37:32+0100 LrDYtAdvOh [info] end of checkWritePermissions()
2026-01-20T21:37:32+0100 LrDYtAdvOh [info] endStep("2")

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

PASTE HERE

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.
1 Like

It’s already fixed in more versions and it’s just a warning.

Are having other problems updating or just curious about that warning message?

I came here because updating for us from 32.0.3 to 32.0.5 has the same warning but the update stops there:

In error_log:

[Tue Jan 27 09:04:08.152390 2026] [proxy_fcgi:error] [pid 1570659] [client 46.140.241.51:33900] AH01071: Got error ‘PHP message: {“reqId”:“aXhxd2t2XKEsaoS644xPqwAAACY”,“level”:2,“time”:“2026-01-27T08:04:08+00:00”,“remoteAddr”:“46.140.241.51”,“user”:“sbw_admin”,“app”:“updatenotification”,“method”:“GET”,“url”:“/index.php/apps/updatenotification/credentials”,“message”:“Created new updater.secret”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0”,“version”:“32.0.3.2”,“data”:{“app”:“updatenotification”}}’
[Tue Jan 27 09:04:14.696274 2026] [proxy_fcgi:error] [pid 1570664] [client 46.140.241.51:34008] AH01071: Got error ‘PHP message: PHP Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/plc.sbw.media/domains/cloud.sbw.media/updater/index.php:30) in /home/httpd/vhosts/plc.sbw.media/domains/cloud.sbw.media/updater/index.php on line 1463’
[Tue Jan 27 09:04:25.744444 2026] [proxy_fcgi:error] [pid 1581127] (70007)The timeout specified has expired: [client 46.140.241.51:33562] AH01075: Error dispatching request to :

The update does not commence and is stopped in the Verify integrity step even after reloading updater/