-
Notifications
You must be signed in to change notification settings - Fork 18
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
Call to undefined method OC\Server::getContentSecurityPolicyNonceManager() (Owncloud no longer supported?) #67
Comments
Yes. Owncloud support was silently removed in 0.4, because after the split, I had the feeling that there was no love from Owncloud for app developers. So I stopped supporting Owncloud in all my applications. If you like you can try to remove the corresponding section in Lines 18 to 26 in 0f83f50
|
http://sualko.github.io/cloud_piwik/ |
Thanks for the hint. I will update the page asap. |
Expected behavior
Go to step 2 of plugin installation.
Actual behavior
Owncloud crashes after cloning this plugin into the apps directory.
owncloud.log throws this error:
Error: Call to undefined method OC\Server::getContentSecurityPolicyNonceManager()
I checked the current OC core, and there is no function with that name.
Is there an earlier version of this plugin that might still work with OC?
Is there a workaround to this missing function? Thanks
Steps to reproduce the behavior
piwik
into owncloud/apps/Environment
Latest commit f32be86
Owncloud version 10.0.10.4
Chrome
yes, multiple.
yes. works fine with other apps.
Logs
{"reqId":"HThSUq3ZS33e0DQ4Uhcd","level":3,"time":"2019-04-05T21:10:11+00:00","remoteAddr":"xxx.xxx.178.43","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v1/notifications?format=json","message":"Error: Call to undefined method OC\Server::getContentSecurityPolicyNonceManager() at /var/www/owncloud/apps/piwik/appinfo/app.php#9"}
Javascript
Nextcloud
The text was updated successfully, but these errors were encountered: