TypeError: must be of the type int, NULL returned. #15

Closed
opened 2020-03-15 13:44:38 +00:00 by philippe-adrien · 1 comment

Ubuntu 18.04.04
Nextcloud 16.0.9
PHP 7.3

Error index TypeError: Return value of "OC\Core\Command\Security\ListCertificates::execute()" must be of the type int, NULL returned.

/var/www/owncloud/core/Command/Base.php - line 166:

Symfony\Component\Console\Command\Command->run(Symfony\Comp ... {}, OCA\OCCWeb\C ... {})

/var/www/owncloud/apps/news/vendor/symfony/console/Application.php - line 925:

OC\Core\Command\Base->run(Symfony\Comp ... {}, OCA\OCCWeb\C ... {})

/var/www/owncloud/apps/news/vendor/symfony/console/Application.php - line 265:

Symfony\Component\Console\Application->doRunCommand(OC\Core\Comm ... {}, Symfony\Comp ... {}, OCA\OCCWeb\C ... {})

/var/www/owncloud/apps/news/vendor/symfony/console/Application.php - line 141:

Symfony\Component\Console\Application->doRun(Symfony\Comp ... {}, OCA\OCCWeb\C ... {})

/var/www/owncloud/lib/private/Console/Application.php - line 213:

Symfony\Component\Console\Application->run(Symfony\Comp ... {}, OCA\OCCWeb\C ... {})

/var/www/owncloud/apps/occweb/lib/Controller/OccController.php - line 58:

OC\Console\Application->run(Symfony\Comp ... {}, OCA\OCCWeb\C ... {})

/var/www/owncloud/apps/occweb/lib/Controller/OccController.php - line 75:

OCA\OCCWeb\Controller\OccController->run(Symfony\Comp ... {})

/var/www/owncloud/lib/private/AppFramework/Http/Dispatcher.php - line 166:

OCA\OCCWeb\Controller\OccController->cmd("security:certificates")

/var/www/owncloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:

OC\AppFramework\Http\Dispatcher->executeController(OCA\OCCWeb\C ... {}, "cmd")

/var/www/owncloud/lib/private/AppFramework/App.php - line 126:

OC\AppFramework\Http\Dispatcher->dispatch(OCA\OCCWeb\C ... {}, "cmd")

/var/www/owncloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

OC\AppFramework\App::main("OCA\\OCCWeb ... r", "cmd", OC\AppFramew ... {}, { _route: "occweb.occ.cmd"})

<<closure>>

OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "occweb.occ.cmd"})

/var/www/owncloud/lib/private/Route/Router.php - line 297:

call_user_func(OC\AppFramew ... {}, { _route: "occweb.occ.cmd"})

/var/www/owncloud/lib/base.php - line 972:

OC\Route\Router->match("/apps/occweb/cmd")

/var/www/owncloud/index.php - line 42:

OC::handleRequest()
Ubuntu 18.04.04 Nextcloud 16.0.9 PHP 7.3 Error index TypeError: Return value of "OC\Core\Command\Security\ListCertificates::execute()" must be of the type int, NULL returned. /var/www/owncloud/core/Command/Base.php - line 166: Symfony\Component\Console\Command\Command->run(Symfony\Comp ... {}, OCA\OCCWeb\C ... {}) /var/www/owncloud/apps/news/vendor/symfony/console/Application.php - line 925: OC\Core\Command\Base->run(Symfony\Comp ... {}, OCA\OCCWeb\C ... {}) /var/www/owncloud/apps/news/vendor/symfony/console/Application.php - line 265: Symfony\Component\Console\Application->doRunCommand(OC\Core\Comm ... {}, Symfony\Comp ... {}, OCA\OCCWeb\C ... {}) /var/www/owncloud/apps/news/vendor/symfony/console/Application.php - line 141: Symfony\Component\Console\Application->doRun(Symfony\Comp ... {}, OCA\OCCWeb\C ... {}) /var/www/owncloud/lib/private/Console/Application.php - line 213: Symfony\Component\Console\Application->run(Symfony\Comp ... {}, OCA\OCCWeb\C ... {}) /var/www/owncloud/apps/occweb/lib/Controller/OccController.php - line 58: OC\Console\Application->run(Symfony\Comp ... {}, OCA\OCCWeb\C ... {}) /var/www/owncloud/apps/occweb/lib/Controller/OccController.php - line 75: OCA\OCCWeb\Controller\OccController->run(Symfony\Comp ... {}) /var/www/owncloud/lib/private/AppFramework/Http/Dispatcher.php - line 166: OCA\OCCWeb\Controller\OccController->cmd("security:certificates") /var/www/owncloud/lib/private/AppFramework/Http/Dispatcher.php - line 99: OC\AppFramework\Http\Dispatcher->executeController(OCA\OCCWeb\C ... {}, "cmd") /var/www/owncloud/lib/private/AppFramework/App.php - line 126: OC\AppFramework\Http\Dispatcher->dispatch(OCA\OCCWeb\C ... {}, "cmd") /var/www/owncloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App::main("OCA\\OCCWeb ... r", "cmd", OC\AppFramew ... {}, { _route: "occweb.occ.cmd"}) <<closure>> OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "occweb.occ.cmd"}) /var/www/owncloud/lib/private/Route/Router.php - line 297: call_user_func(OC\AppFramew ... {}, { _route: "occweb.occ.cmd"}) /var/www/owncloud/lib/base.php - line 972: OC\Route\Router->match("/apps/occweb/cmd") /var/www/owncloud/index.php - line 42: OC::handleRequest()
Owner

Sorry I didn't see the issue earlier. Duplicated issue on github

Sorry I didn't see the issue earlier. Duplicated issue on [github](https://github.com/Adphi/occweb/issues/1)
adphi closed this issue 2020-04-17 15:43:05 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: adphi/occweb#15
No description provided.