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

RuntimeException: App class OCA\OcSms\AppInfo\OcSmsApp is not setup via query() but directly at #330

Open
abma opened this issue Dec 31, 2020 · 0 comments

Comments

@abma
Copy link

abma commented Dec 31, 2020

Steps to reproduce

  1. install ocsms
  2. open nextcloud -> settings -> log
  3. see the error message

`[ocsms] Error: RuntimeException: App class OCA\OcSms\AppInfo\OcSmsApp is not setup via query() but directly at <>

  1. /var/www/html/apps/ocsms/appinfo/ocsmsapp.php line 38
    OCP\AppFramework\App->__construct("ocsms", [])
  2. /var/www/html/apps/ocsms/appinfo/routes.php line 14
    OCA\OcSms\AppInfo\OcSmsApp->__construct()
  3. /var/www/html/lib/private/Route/Router.php line 412
    include_once("/var/www/html/a ... p")
  4. /var/www/html/lib/private/Route/Router.php line 151
    OC\Route\Router->requireRouteFile("/var/www/html/a ... p", "ocsms")
  5. /var/www/html/lib/private/Route/Router.php line 360
    OC\Route\Router->loadRoutes("ocsms")
  6. /var/www/html/lib/private/URLGenerator.php line 83
    OC\Route\Router->generate("ocsms.sms.index", [])
  7. /var/www/html/apps/ocsms/appinfo/app.php line 24
    OC\URLGenerator->linkToRoute("ocsms.sms.index")
  8. /var/www/html/lib/private/legacy/OC_App.php line 289
    require_once("/var/www/html/a ... p")
  9. /var/www/html/lib/private/legacy/OC_App.php line 171
    OC_App::requireAppFile("ocsms")
  10. /var/www/html/lib/private/legacy/OC_App.php line 131
    OC_App::loadApp("ocsms")
  11. /var/www/html/lib/base.php line 993
    OC_App::loadApps()
  12. /var/www/html/index.php line 37
    OC::handleRequest()

GET /index.php/apps/logreader/get?offset=0&count=50&levels=11111`

Server configuration

Nextcloud/ownCloud version: 20.0.4

PHP version: 7.3.19

HTTPd server: apache 2.4.38

Database engine & version: mariadb 10.3.27

Client configuration

firefox 78.6 esr

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