Skip to content
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

Exception: error_log(): Argument #1 ($message) must be of type string, array given in file '/var/www/html/custom_apps/extract/lib/Controller/ExtractionController.php' line 156 #99

Open
wangvic21 opened this issue Nov 5, 2022 · 0 comments

Comments

@wangvic21
Copy link

wangvic21 commented Nov 5, 2022

Right click tar.gz file and extract it.

Error Detail:

{
    "reqId": "Qji9IekjhPY7zDBvWRpu", 
    "level": 3, 
    "time": "2022-11-05T12:33:01+00:00", 
    "remoteAddr": "10.15.255.15", 
    "user": "root", 
    "app": "index", 
    "method": "POST", 
    "url": "/index.php/apps/extract/ajax/extract.php", 
    "message": "error_log(): Argument #1 ($message) must be of type string, array given in file '/var/www/html/custom_apps/extract/lib/Controller/ExtractionController.php' line 156", 
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36", 
    "version": "24.0.6.1", 
    "exception": {
        "Exception": "Exception", 
        "Message": "error_log(): Argument #1 ($message) must be of type string, array given in file '/var/www/html/custom_apps/extract/lib/Controller/ExtractionController.php' line 156", 
        "Code": 0, 
        "Trace": [
            {
                "file": "/var/www/html/lib/private/AppFramework/App.php", 
                "line": 172, 
                "function": "dispatch", 
                "class": "OC\\AppFramework\\Http\\Dispatcher", 
                "type": "->", 
                "args": [
                    {
                        "__class__": "OCA\\Extract\\Controller\\ExtractionController"
                    }, 
                    "extract"
                ]
            }, 
            {
                "file": "/var/www/html/lib/private/Route/Router.php", 
                "line": 298, 
                "function": "main", 
                "class": "OC\\AppFramework\\App", 
                "type": "::", 
                "args": [
                    "OCA\\Extract\\Controller\\ExtractionController", 
                    "extract", 
                    {
                        "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
                    }, 
                    [
                        "extract.extraction.extract"
                    ]
                ]
            }, 
            {
                "file": "/var/www/html/lib/base.php", 
                "line": 1030, 
                "function": "match", 
                "class": "OC\\Route\\Router", 
                "type": "->", 
                "args": [
                    "/apps/extract/ajax/extract.php"
                ]
            }, 
            {
                "file": "/var/www/html/index.php", 
                "line": 36, 
                "function": "handleRequest", 
                "class": "OC", 
                "type": "::", 
                "args": [ ]
            }
        ], 
        "File": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php", 
        "Line": 165, 
        "Previous": {
            "Exception": "TypeError", 
            "Message": "error_log(): Argument #1 ($message) must be of type string, array given", 
            "Code": 0, 
            "Trace": [
                {
                    "file": "/var/www/html/custom_apps/extract/lib/Controller/ExtractionController.php", 
                    "line": 156, 
                    "function": "error_log", 
                    "args": [
                        [ ]
                    ]
                }, 
                {
                    "file": "/var/www/html/custom_apps/extract/lib/Controller/ExtractionController.php", 
                    "line": 91, 
                    "function": "extractOther", 
                    "class": "OCA\\Extract\\Controller\\ExtractionController", 
                    "type": "->", 
                    "args": [
                        "/var/www/html/data/__groupfolders/1/NonFunTest/Stability/Monkey/20221104_214155_61SDD221104.1442.94E_6ffe8875/q_log.tar.gz", 
                        "q_log", 
                        "/var/www/html/data/__groupfolders/1/NonFunTest/Stability/Monkey/20221104_214155_61SDD221104.1442.94E_6ffe8875/q_log"
                    ]
                }, 
                {
                    "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php", 
                    "line": 225, 
                    "function": "extract", 
                    "class": "OCA\\Extract\\Controller\\ExtractionController", 
                    "type": "->", 
                    "args": [
                        "q_log.tar.gz", 
                        "/CDC/NonFunTest/Stability/Monkey/20221104_214155_61SDD221104.1442.94E_6ffe8875", 
                        "0", 
                        "other"
                    ]
                }, 
                {
                    "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php", 
                    "line": 133, 
                    "function": "executeController", 
                    "class": "OC\\AppFramework\\Http\\Dispatcher", 
                    "type": "->", 
                    "args": [
                        {
                            "__class__": "OCA\\Extract\\Controller\\ExtractionController"
                        }, 
                        "extract"
                    ]
                }, 
                {
                    "file": "/var/www/html/lib/private/AppFramework/App.php", 
                    "line": 172, 
                    "function": "dispatch", 
                    "class": "OC\\AppFramework\\Http\\Dispatcher", 
                    "type": "->", 
                    "args": [
                        {
                            "__class__": "OCA\\Extract\\Controller\\ExtractionController"
                        }, 
                        "extract"
                    ]
                }, 
                {
                    "file": "/var/www/html/lib/private/Route/Router.php", 
                    "line": 298, 
                    "function": "main", 
                    "class": "OC\\AppFramework\\App", 
                    "type": "::", 
                    "args": [
                        "OCA\\Extract\\Controller\\ExtractionController", 
                        "extract", 
                        {
                            "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
                        }, 
                        [
                            "extract.extraction.extract"
                        ]
                    ]
                }, 
                {
                    "file": "/var/www/html/lib/base.php", 
                    "line": 1030, 
                    "function": "match", 
                    "class": "OC\\Route\\Router", 
                    "type": "->", 
                    "args": [
                        "/apps/extract/ajax/extract.php"
                    ]
                }, 
                {
                    "file": "/var/www/html/index.php", 
                    "line": 36, 
                    "function": "handleRequest", 
                    "class": "OC", 
                    "type": "::", 
                    "args": [ ]
                }
            ], 
            "File": "/var/www/html/custom_apps/extract/lib/Controller/ExtractionController.php", 
            "Line": 156
        }, 
        "CustomMessage": "--"
    }, 
    "id": "63665c7bba7c0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant