Skip to content

Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found #21790

@Nick-Hopps

Description

@Nick-Hopps
{
    "reqId": "BbVPXCcRjGH0V1roDrvI",
    "level": 3,
    "time": "2020-07-10T13:48:39+00:00",
    "remoteAddr": "192.168.31.22",
    "user": "admin",
    "app": "index",
    "method": "GET",
    "url": "/settings/apps",
    "message":
    {
        "Exception": "Exception",
        "Message": "Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found",
        "Code": 0,
        "Trace": [
        {
            "file": "/opt/wwwroot/Nextcloud/lib/private/AppFramework/App.php",
            "line": 137,
            "function": "dispatch",
            "class": "OC\\AppFramework\\Http\\Dispatcher",
            "type": "->",
            "args": [
            {
                "__class__": "OCA\\Settings\\Controller\\AppSettingsController"
            }, "viewApps"]
        },
        {
            "file": "/opt/wwwroot/Nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",
            "line": 47,
            "function": "main",
            "class": "OC\\AppFramework\\App",
            "type": "::",
            "args": ["OCA\\Settings\\Controller\\AppSettingsController", "viewApps",
            {
                "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
            },
            {
                "category": "",
                "id": "",
                "_route": "settings.AppSettings.viewApps"
            }]
        },
        {
            "function": "__invoke",
            "class": "OC\\AppFramework\\Routing\\RouteActionHandler",
            "type": "->",
            "args": [
            {
                "category": "",
                "id": "",
                "_route": "settings.AppSettings.viewApps"
            }]
        },
        {
            "file": "/opt/wwwroot/Nextcloud/lib/private/Route/Router.php",
            "line": 297,
            "function": "call_user_func",
            "args": [
            {
                "__class__": "OC\\AppFramework\\Routing\\RouteActionHandler"
            },
            {
                "category": "",
                "id": "",
                "_route": "settings.AppSettings.viewApps"
            }]
        },
        {
            "file": "/opt/wwwroot/Nextcloud/lib/base.php",
            "line": 1007,
            "function": "match",
            "class": "OC\\Route\\Router",
            "type": "->",
            "args": ["/settings/apps"]
        },
        {
            "file": "/opt/wwwroot/Nextcloud/index.php",
            "line": 37,
            "function": "handleRequest",
            "class": "OC",
            "type": "::",
            "args": []
        }],
        "File": "/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "Line": 110,
        "Previous":
        {
            "Exception": "Error",
            "Message": "Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found",
            "Code": 0,
            "Trace": [
            {
                "file": "/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",
                "line": 220,
                "function": "GuzzleHttp\\_idn_uri_convert",
                "args": [
                {
                    "__class__": "GuzzleHttp\\Psr7\\Uri"
                }, 0]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",
                "line": 155,
                "function": "buildUri",
                "class": "GuzzleHttp\\Client",
                "type": "->",
                "args": [
                {
                    "__class__": "GuzzleHttp\\Psr7\\Uri"
                },
                {
                    "verify": "/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt",
                    "timeout": 10,
                    "headers":
                    {
                        "Accept-Encoding": "gzip",
                        "User-Agent": "Nextcloud Server Crawler"
                    },
                    "synchronous": true,
                    "handler":
                    {
                        "__class__": "GuzzleHttp\\HandlerStack"
                    },
                    "allow_redirects":
                    {
                        "max": 5,
                        "protocols": ["http", "https"],
                        "strict": false,
                        "referer": false,
                        "track_redirects": false
                    },
                    "http_errors": true,
                    "decode_content": true,
                    "cookies": false,
                    "idn_conversion": true,
                    "_conditional":
                    {
                        "User-Agent": "GuzzleHttp/6.5.1 curl/7.70.0 PHP/7.4.6"
                    }
                }]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",
                "line": 183,
                "function": "requestAsync",
                "class": "GuzzleHttp\\Client",
                "type": "->",
                "args": ["get", "https://apps.nextcloud.com/api/v1/apps.json",
                {
                    "verify": "/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt",
                    "timeout": 10,
                    "headers":
                    {
                        "Accept-Encoding": "gzip",
                        "User-Agent": "Nextcloud Server Crawler"
                    },
                    "synchronous": true,
                    "handler":
                    {
                        "__class__": "GuzzleHttp\\HandlerStack"
                    },
                    "allow_redirects":
                    {
                        "max": 5,
                        "protocols": ["http", "https"],
                        "strict": false,
                        "referer": false,
                        "track_redirects": false
                    },
                    "http_errors": true,
                    "decode_content": true,
                    "cookies": false,
                    "idn_conversion": true,
                    "_conditional":
                    {
                        "User-Agent": "GuzzleHttp/6.5.1 curl/7.70.0 PHP/7.4.6"
                    }
                }]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/Http/Client/Client.php",
                "line": 228,
                "function": "request",
                "class": "GuzzleHttp\\Client",
                "type": "->",
                "args": ["get", "https://apps.nextcloud.com/api/v1/apps.json",
                {
                    "verify": "/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt",
                    "timeout": 10,
                    "headers":
                    {
                        "Accept-Encoding": "gzip",
                        "User-Agent": "Nextcloud Server Crawler"
                    },
                    "synchronous": true
                }]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php",
                "line": 109,
                "function": "get",
                "class": "OC\\Http\\Client\\Client",
                "type": "->",
                "args": ["https://apps.nextcloud.com/api/v1/apps.json",
                {
                    "timeout": 10,
                    "headers":
                    {
                        "Accept-Encoding": "gzip"
                    }
                }]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php",
                "line": 86,
                "function": "fetch",
                "class": "OC\\App\\AppStore\\Fetcher\\Fetcher",
                "type": "->",
                "args": ["", ""]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php",
                "line": 173,
                "function": "fetch",
                "class": "OC\\App\\AppStore\\Fetcher\\AppFetcher",
                "type": "->",
                "args": ["", ""]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/Installer.php",
                "line": 408,
                "function": "get",
                "class": "OC\\App\\AppStore\\Fetcher\\Fetcher",
                "type": "->",
                "args": []
            },
            {
                "file": "/opt/wwwroot/Nextcloud/apps/settings/lib/Controller/AppSettingsController.php",
                "line": 153,
                "function": "isUpdateAvailable",
                "class": "OC\\Installer",
                "type": "->",
                "args": ["admin_audit"]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/apps/settings/lib/Controller/AppSettingsController.php",
                "line": 136,
                "function": "getAppsWithUpdates",
                "class": "OCA\\Settings\\Controller\\AppSettingsController",
                "type": "->",
                "args": []
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
                "line": 170,
                "function": "viewApps",
                "class": "OCA\\Settings\\Controller\\AppSettingsController",
                "type": "->",
                "args": []
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
                "line": 100,
                "function": "executeController",
                "class": "OC\\AppFramework\\Http\\Dispatcher",
                "type": "->",
                "args": [
                {
                    "__class__": "OCA\\Settings\\Controller\\AppSettingsController"
                }, "viewApps"]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/AppFramework/App.php",
                "line": 137,
                "function": "dispatch",
                "class": "OC\\AppFramework\\Http\\Dispatcher",
                "type": "->",
                "args": [
                {
                    "__class__": "OCA\\Settings\\Controller\\AppSettingsController"
                }, "viewApps"]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",
                "line": 47,
                "function": "main",
                "class": "OC\\AppFramework\\App",
                "type": "::",
                "args": ["OCA\\Settings\\Controller\\AppSettingsController", "viewApps",
                {
                    "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
                },
                {
                    "category": "",
                    "id": "",
                    "_route": "settings.AppSettings.viewApps"
                }]
            },
            {
                "function": "__invoke",
                "class": "OC\\AppFramework\\Routing\\RouteActionHandler",
                "type": "->",
                "args": [
                {
                    "category": "",
                    "id": "",
                    "_route": "settings.AppSettings.viewApps"
                }]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/Route/Router.php",
                "line": 297,
                "function": "call_user_func",
                "args": [
                {
                    "__class__": "OC\\AppFramework\\Routing\\RouteActionHandler"
                },
                {
                    "category": "",
                    "id": "",
                    "_route": "settings.AppSettings.viewApps"
                }]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/base.php",
                "line": 1007,
                "function": "match",
                "class": "OC\\Route\\Router",
                "type": "->",
                "args": ["/settings/apps"]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/index.php",
                "line": 37,
                "function": "handleRequest",
                "class": "OC",
                "type": "::",
                "args": []
            }],
            "File": "/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/functions.php",
            "Line": 384
        },
        "CustomMessage": "--"
    },
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36",
    "version": "19.0.0.12"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbugneeds info

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions