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

Rainloop 5.2 & Owncloud 10.2 - Class ‘OCP\Config’ not found #1960

Open
albansch opened this issue Jan 9, 2020 · 0 comments
Open

Rainloop 5.2 & Owncloud 10.2 - Class ‘OCP\Config’ not found #1960

albansch opened this issue Jan 9, 2020 · 0 comments

Comments

@albansch
Copy link

@albansch albansch commented Jan 9, 2020

Rainloop 5.2, CentOS 7, Owncloud 10.2

As announced by Owncloud, some deprecated calls have been removed in 10.2.
owncloud/core#34927
Such as the OCP\Config, which worked until Owncloud 10.1.1.

Error log will show the following:
{“reqId”:“gYAVuoJgNWtHeq00BvnZ”,“level”:3,“time”:“2020-01-05T20:31:43+00:00”,“remoteAddr”:“IP-address”,“user”:“username”,“app”:“index”,“method”:“GET”,“url”:"/index.php",“message”:“Exception: {“Exception”:“Error”,“Message”:“Class ‘OCP\\Config’ not found”,“Code”:0,“Trace”:”#0 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(239): require_once()\n#1 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(190): OC_App::requireAppFile(‘rainloop’)\n#2 \/var\/www\/owncloud\/lib\/private\/legacy\/app.php(124): OC_App::loadApp(‘rainloop’)\n#3 \/var\/www\/owncloud\/lib\/base.php(896): OC_App::loadApps()\n#4 \/var\/www\/owncloud\/index.php(54): OC::handleRequest()\n#5 {main}",“File”:"\/var\/www\/owncloud\/apps\/rainloop\/appinfo\/app.php",“Line”:16}"} {“reqId”:“H110XhypsoT2q3Wnl7fs”,“level”:3,“time”:“2020-01-05T20:31:44+00:00”,“remoteAddr”:“IP-address”,“user”:“username”,“app”:“PHP”,“method”:“GET”,“url”:"/ocs/v2.php/apps/notifications/api/v1/notifications?format=json",“message”:“Error: Class ‘OCP\Config’ not found at /var/www/owncloud/apps/rainloop/appinfo/app.php#16”}

I can see a way of replacing those calls here (as an example):
https://codecov.io/gh/owncloud/core/pull/34927/diff?src=pr&el=tree#diff-YXBwcy9maWxlc190cmFzaGJpbi9saWIvRXhwaXJhdGlvbi5waHA=

Any plan to implement this update in next version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.