Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

RuntimeException: App class OCA\Maps\AppInfo\Application is not setup via query() but directly #384

Closed
jancborchardt opened this issue May 18, 2020 · 1 comment · Fixed by #387

Comments

@jancborchardt
Copy link
Member

This error is getting spammed in the logs at a very high frequency:


0. /home/jan/nextcloud/apps/maps/appinfo/application.php line 36
   OCP\AppFramework\App->__construct("maps", [])
1. /home/jan/nextcloud/apps/maps/appinfo/app.php line 20
   OCA\Maps\AppInfo\Application->__construct()
2. /home/jan/nextcloud/lib/private/legacy/OC_App.php line 266
   require_once("/home/jan/nextc ... p")
3. /home/jan/nextcloud/lib/private/legacy/OC_App.php line 155
   OC_App::requireAppFile("maps")
4. /home/jan/nextcloud/lib/private/legacy/OC_App.php line 128
   OC_App::loadApp("maps")
5. /home/jan/nextcloud/lib/base.php line 992
   OC_App::loadApps()
6. /home/jan/nextcloud/index.php line 37
   OC::handleRequest()

GET /nextcloud/index.php/apps/logreader/poll?lastReqId=A2eYOtGPneS1JOMUAKyi
from 127.0.0.1 by jan at 2020-05-18T11:18:38+00:00

@georgehrke said that Calendar had the same issue and they fixed it like this:
See nextcloud/calendar#1958 and nextcloud/calendar#1979

cc @nextcloud/maps if someone wants to look into this :)

@georgehrke
Copy link
Member

nextcloud/calendar#1979 doesn't apply to maps, because it has a more complex app.php, which is registering events, etc.

https://github.com/nextcloud/calendar/pull/1958/files#diff-079bbe455bfa9aeaf363ae1bc6415ba0R25 will work.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants