Skip to content

Error in logs #347

@Valdnet

Description

@Valdnet

There is an error in the logs:

Error	no app in context	Exception: Return value of OCA\ServerInfo\OperatingSystems\DefaultOs::getTime() must be of the type string, null returned in file '/home/xxx/public_html/xxx/apps/serverinfo/lib/OperatingSystems/DefaultOs.php' line 115

    /home/xxx/public_html/xxx/lib/private/AppFramework/App.php - line 157:

    OC\AppFramework\Http\Dispatcher->dispatch(OCA\ServerIn ... {}, "BasicData")

    /home/xxx/public_html/xxx/lib/private/Route/Router.php - line 302:

    OC\AppFramework\App::main("OCA\\Server ... r", "BasicData", OC\AppFramew ... {}, { _route: "o ... "})

    /home/xxx/public_html/xxx/ocs/v1.php - line 62:

    OC\Route\Router->match("/ocsapp/app ... a")

    /home/xxx/public_html/xxx/ocs/v2.php - line 23:

    require_once("/home/xxx/p ... p")

Spowodowany TypeError: Return value of OCA\ServerInfo\OperatingSystems\DefaultOs::getTime() must be of the type string, null returned

    /home/xxx/public_html/xxx/apps/serverinfo/lib/Os.php - line 89:

    OCA\ServerInfo\OperatingSystems\DefaultOs->getTime()

    /home/xxx/public_html/xxx/apps/serverinfo/lib/Controller/ApiController.php - line 179:

    OCA\ServerInfo\Os->getTime()

    /home/xxx/public_html/xxx/lib/private/AppFramework/Http/Dispatcher.php - line 217:

    OCA\ServerInfo\Controller\ApiController->BasicData()

    /home/xxx/public_html/xxx/lib/private/AppFramework/Http/Dispatcher.php - line 126:

    OC\AppFramework\Http\Dispatcher->executeController(OCA\ServerIn ... {}, "BasicData")

    /home/xxx/public_html/xxx/lib/private/AppFramework/App.php - line 157:

    OC\AppFramework\Http\Dispatcher->dispatch(OCA\ServerIn ... {}, "BasicData")

    /home/xxx/public_html/xxx/lib/private/Route/Router.php - line 302:

    OC\AppFramework\App::main("OCA\\Server ... r", "BasicData", OC\AppFramew ... {}, { _route: "o ... "})

    /home/xxx/public_html/xxx/ocs/v1.php - line 62:

    OC\Route\Router->match("/ocsapp/app ... a")

    /home/xxx/public_html/xxx/ocs/v2.php - line 23:

    require_once("/home/xxx/p ... p")

Operating system:
Linux 5.4.17-2102.205.7.3.el7uek.x86_64 x86_64
Database:
mysql 5.7.30
PHP version:
7.3.25

Nextcloud version: (see Nextcloud admin page)
23.0.0

App:
Serverinfo 1.13.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions