You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run occ command. sudo -u www-data php occ app:check-code user_ldap
See bunch of errors
Expected behaviour
No errors
Actual behaviour
Module not working properly
Server configuration
Operating system: debian 10
Web server: nginx 1.14
Database: mariadb
PHP version: php-fpm 7.3
Nextcloud version: 20,0,5,2
Updated from an older Nextcloud/ownCloud or fresh install: Updated
Where did you install Nextcloud from:
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes/no
Logs
Web server error log
Web server error log
Stack trace:
#0 {main}
thrown in /var/www/html/nextcloud/apps/user_ldap/ajax/getConfiguration.php on line 30" while reading response header from upstream, client: 95.165.173.221, server: cloud.stroekos.ru, request: "POST /apps/user_ldap/ajax/getConfiguration.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "cloud.stroekos.ru"
2021/01/24 09:59:37 [error] 25569#25569: *2442030 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'OC_JSON' not found in /var/www/html/nextcloud/apps/user_ldap/ajax/getConfiguration.php:30
Nextcloud log (data/nextcloud.log)
Nextcloud log
nalysing /var/www/html/nextcloud/apps/user_ldap/lib/Access.php
14 errors
line 189: OCP\Util::writeLog - Method of deprecated class must not be called
line 197: OCP\Util::writeLog - Method of deprecated class must not be called
line 252: OCP\Util::writeLog - Method of deprecated class must not be called
line 276: OCP\Util::writeLog - Method of deprecated class must not be called
line 282: OCP\Util::writeLog - Method of deprecated class must not be called
line 368: OCP\Util::writeLog - Method of deprecated class must not be called
line 542: OCP\Util::writeLog - Method of deprecated class must not be called
line 549: OCP\Util::writeLog - Method of deprecated class must not be called
line 608: OCP\Util::writeLog - Method of deprecated class must not be called
line 1091: == - is discouraged
line 1104: OCP\Util::writeLog - Method of deprecated class must not be called
line 1110: OCP\Util::writeLog - Method of deprecated class must not be called
line 1144: OCP\Util::writeLog - Method of deprecated class must not be called
line 1155: OCP\Util::writeLog - Method of deprecated class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/lib/User/User.php
1 errors
line 522: OC_Helper - Static method of private class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/lib/Connection.php
12 errors
line 212: OCP\Util::writeLog - Method of deprecated class must not be called
line 384: OCP\Util::writeLog - Method of deprecated class must not be called
line 410: OCP\Util::writeLog - Method of deprecated class must not be called
line 453: OCP\Util::writeLog - Method of deprecated class must not be called
line 468: OCP\Util::writeLog - Method of deprecated class must not be called
line 481: OCP\Util::writeLog - Method of deprecated class must not be called
line 491: OCP\Util::writeLog - Method of deprecated class must not be called
line 538: OCP\Util::writeLog - Method of deprecated class must not be called
line 548: OCP\Util::writeLog - Method of deprecated class must not be called
line 558: OCP\Util::writeLog - Method of deprecated class must not be called
line 562: OCP\Util::writeLog - Method of deprecated class must not be called
line 675: OCP\Util::writeLog - Method of deprecated class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/lib/Controller/RenewPasswordController.php
1 errors
line 145: OC_User - Static method of private class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/lib/User_LDAP.php
4 errors
line 183: Util::writeLog - Method of deprecated class must not be called
line 269: Util::writeLog - Method of deprecated class must not be called
line 278: Util::writeLog - Method of deprecated class must not be called
line 356: Util::writeLog - Method of deprecated class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/lib/Jobs/UpdateGroups.php
17 errors
line 69: OCP\Util::writeLog - Method of deprecated class must not be called
line 75: OCP\Util::writeLog - Method of deprecated class must not be called
line 85: OCP\Util::writeLog - Method of deprecated class must not be called
line 105: OCP\Util::writeLog - Method of deprecated class must not be called
line 106: OC_DB - Static method of private class must not be called
line 123: OCP\Util::writeLog - Method of deprecated class must not be called
line 133: OCP\Util::writeLog - Method of deprecated class must not be called
line 142: OCP\Util::writeLog - Method of deprecated class must not be called
line 151: OCP\Util::writeLog - Method of deprecated class must not be called
line 152: OC_DB - Static method of private class must not be called
line 158: OCP\Util::writeLog - Method of deprecated class must not be called
line 164: OCP\Util::writeLog - Method of deprecated class must not be called
line 173: OCP\Util::writeLog - Method of deprecated class must not be called
line 174: OC_DB - Static method of private class must not be called
line 180: OCP\Util::writeLog - Method of deprecated class must not be called
line 185: OCP\Util::writeLog - Method of deprecated class must not be called
line 233: OC_DB - Static method of private class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/lib/Wizard.php
8 errors
line 304: OCP\Util::writeLog - Method of deprecated class must not be called
line 684: OCP\Util::writeLog - Method of deprecated class must not be called
line 707: OCP\Util::writeLog - Method of deprecated class must not be called
line 852: OCP\Util::writeLog - Method of deprecated class must not be called
line 1029: OCP\Util::writeLog - Method of deprecated class must not be called
line 1049: OCP\Util::writeLog - Method of deprecated class must not be called
line 1068: OCP\Util::writeLog - Method of deprecated class must not be called
line 1083: OCP\Util::writeLog - Method of deprecated class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/lib/LogWrapper.php
1 errors
line 38: OCP\Util::writeLog - Method of deprecated class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/lib/UserPluginManager.php
1 errors
line 80: == - is discouraged
Analysing /var/www/html/nextcloud/apps/user_ldap/lib/GroupPluginManager.php
1 errors
line 70: == - is discouraged
Analysing /var/www/html/nextcloud/apps/user_ldap/lib/Helper.php
1 errors
line 168: OC_DB - Static method of private class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/lib/FilesystemHelper.php
1 errors
line 45: OC_Util - Static method of private class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/lib/AppInfo/Application.php
1 errors
line 111: OC_User - Static method of private class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/lib/Group_LDAP.php
2 errors
line 348: != - is discouraged
line 1220: != - is discouraged
Analysing /var/www/html/nextcloud/apps/user_ldap/ajax/clearMappings.php
5 errors
line 32: OC_JSON - Static method of deprecated class must not be called
line 33: OC_JSON - Static method of deprecated class must not be called
line 34: OC_JSON - Static method of deprecated class must not be called
line 58: OC_JSON - Static method of deprecated class must not be called
line 60: OC_JSON - Static method of deprecated class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/ajax/setConfiguration.php
4 errors
line 29: OC_JSON - Static method of deprecated class must not be called
line 30: OC_JSON - Static method of deprecated class must not be called
line 31: OC_JSON - Static method of deprecated class must not be called
line 50: OC_JSON - Static method of deprecated class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/ajax/testConfiguration.php
8 errors
line 31: OC_JSON - Static method of deprecated class must not be called
line 32: OC_JSON - Static method of deprecated class must not be called
line 33: OC_JSON - Static method of deprecated class must not be called
line 72: OC_JSON - Static method of deprecated class must not be called
line 76: OC_JSON - Static method of deprecated class must not be called
line 79: OC_JSON - Static method of deprecated class must not be called
line 83: OC_JSON - Static method of deprecated class must not be called
line 87: OC_JSON - Static method of deprecated class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/ajax/getConfiguration.php
4 errors
line 30: OC_JSON - Static method of deprecated class must not be called
line 31: OC_JSON - Static method of deprecated class must not be called
line 32: OC_JSON - Static method of deprecated class must not be called
line 42: OC_JSON - Static method of deprecated class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/ajax/wizard.php
15 errors
line 33: OC_JSON - Static method of deprecated class must not be called
line 34: OC_JSON - Static method of deprecated class must not be called
line 35: OC_JSON - Static method of deprecated class must not be called
line 40: OC_JSON - Static method of deprecated class must not be called
line 46: OC_JSON - Static method of deprecated class must not be called
line 99: OC_JSON - Static method of deprecated class must not be called
line 103: OC_JSON - Static method of deprecated class must not be called
line 106: OC_JSON - Static method of deprecated class must not be called
line 115: OC_JSON - Static method of deprecated class must not be called
line 119: OC_JSON - Static method of deprecated class must not be called
line 122: OC_JSON - Static method of deprecated class must not be called
line 131: OC_JSON - Static method of deprecated class must not be called
line 138: OC_JSON - Static method of deprecated class must not be called
line 146: OC_JSON - Static method of deprecated class must not be called
line 149: OC_JSON - Static method of deprecated class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/ajax/getNewServerConfigPrefix.php
4 errors
line 28: OC_JSON - Static method of deprecated class must not be called
line 29: OC_JSON - Static method of deprecated class must not be called
line 30: OC_JSON - Static method of deprecated class must not be called
line 52: OC_JSON - Static method of deprecated class must not be called
Analysing /var/www/html/nextcloud/apps/user_ldap/ajax/deleteConfiguration.php
5 errors
line 30: OC_JSON - Static method of deprecated class must not be called
line 31: OC_JSON - Static method of deprecated class must not be called
line 32: OC_JSON - Static method of deprecated class must not be called
line 37: OC_JSON - Static method of deprecated class must not be called
line 40: OC_JSON - Static method of deprecated class must not be called
Deprecated file found: /var/www/html/nextcloud/apps/user_ldap/appinfo/update.php - please use repair steps
App is not compliant
Browser log
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Expected behaviour
No errors
Actual behaviour
Module not working properly
Server configuration
Operating system: debian 10
Web server: nginx 1.14
Database: mariadb
PHP version: php-fpm 7.3
Nextcloud version: 20,0,5,2
Updated from an older Nextcloud/ownCloud or fresh install: Updated
Where did you install Nextcloud from:
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes/no
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: