Too few arguments to function OC\Console\Application::__construct(), 5 passed in /var/www/nextcloud/apps/occweb/lib/Controller/OccController.php on line 33 and exactly 6 expected
Hallo, who can help me
Im installed as nobe my first Nextcloud. NC is running but after install OccWeb they are not working. I get a error:
The output of your Nextcloud log in Admin > Logging:
1. /var/www/nextcloud/apps/occweb/lib/Controller/OccController.phpZeile 33
OC\Console\Application->__construct()
OCA\OCCWeb\Controller\OccController->__construct
2. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.phpZeile 61 ReflectionClass->newInstanceArgs()
3. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.phpZeile 106
OC\AppFramework\Utility\SimpleContainer->buildClass()
4. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.phpZeile 124
OC\AppFramework\Utility\SimpleContainer->resolve()
5. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.phpZeile 448
OC\AppFramework\Utility\SimpleContainer->query()
6. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.phpZeile 420
OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
7. /var/www/nextcloud/lib/private/AppFramework/App.phpZeile 140```
OC\AppFramework\DependencyInjection\DIContainer->query()
8. /var/www/nextcloud/lib/private/Route/Router.phpZeile 302
OC\AppFramework\App::main()
9. /var/www/nextcloud/lib/base.phpZeile 1001
OC\Route\Router->match()
10. /var/www/nextcloud/index.phpZeile 24
OC::handleRequest()
{
"reqId": "1jkGfHhOx6EZC7Y30JnM",
"level": 3,
"time": "2024-09-22T12:22:04+02:00",
"remoteAddr": "2003:xxxxxxxxxxxxxxxxxxxxxxx",
"user": "ja",
"app": "index",
"method": "GET",
"url": "/apps/occweb/",
"message": "Too few arguments to function OC\\Console\\Application::__construct(), 5 passed in /var/www/nextcloud/apps/occweb/lib/Controller/OccController.php on line 33 and exactly 6 expected",
"userAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0",
"version": "30.0.0.14",
"exception": {
"Exception": "ArgumentCountError",
"Message": "Too few arguments to function OC\\Console\\Application::__construct(), 5 passed in /var/www/nextcloud/apps/occweb/lib/Controller/OccController.php on line 33 and exactly 6 expected",
"Code": 0,
"Trace": [
{
"file": "/var/www/nextcloud/apps/occweb/lib/Controller/OccController.php",
"line": 33,
"function": "__construct",
"class": "OC\\Console\\Application",
"type": "->"
},
{
"function": "__construct",
"class": "OCA\\OCCWeb\\Controller\\OccController",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",
"line": 61,
"function": "newInstanceArgs",
"class": "ReflectionClass",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",
"line": 106,
"function": "buildClass",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",
"line": 124,
"function": "resolve",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php",
"line": 448,
"function": "query",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php",
"line": 420,
"function": "queryNoFallback",
"class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
"line": 140,
"function": "query",
"class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Route/Router.php",
"line": 302,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::"
},
{
"file": "/var/www/nextcloud/lib/base.php",
"line": 1001,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->"
},
{
"file": "/var/www/nextcloud/index.php",
"line": 24,
"function": "handleRequest",
"class": "OC",
"type": "::"
}
],
"File": "/var/www/nextcloud/lib/private/Console/Application.php",
"Line": 29,
"message": "Too few arguments to function OC\\Console\\Application::__construct(), 5 passed in /var/www/nextcloud/apps/occweb/lib/Controller/OccController.php on line 33 and exactly 6 expected",
"exception": [],
"CustomMessage": "Too few arguments to function OC\\Console\\Application::__construct(), 5 passed in /var/www/nextcloud/apps/occweb/lib/Controller/OccController.php on line 33 and exactly 6 expected"
},
"id": "66f0052d228b4"
}
What can i do to fix this problem?