[8.2] Call to a member function processAttributes() on a non object at apps\user_ldap\lib\access.php#698
After the upgrate, I couldn't see my files in the files app, so i started the filescan in the console. this is the error I get:
PHP Fatal error: Call to a member function processAttributes() on a non-object in /owncloud/apps/user_ldap/lib/access.php on line 698
Is this similar to https://github.com/owncloud/core/issues/20090?
I have upgraded from 8.0.3 to 8.2.

Server configuration
Operating system: Linux Web server: nginx Database: mariadb-10.0.22 PHP version: PHP 5.6.14-pl0-gentoo ownCloud version: 8.2.0.12 Updated from an older ownCloud or fresh install: upgrade from 8.0.3 List of activated apps: standard apps user_ldap !
Duplicate of https://github.com/owncloud/core/issues/20090.
Please try again with 8.2.1 where this was fixed already https://github.com/owncloud/core/pull/20245
it's similar but not the same error. Anyway seems to work in 8.2.1
Yeah, there might be multiple code paths leading to the same error. Glad to hear the fix worked for you.
CC @blizzz
but I got an error in the admin page in 8.2.1 (504 Gateway Timeout with nginx) and fixet it with this change in the config file:
check_for_working_webdav=false
I can't see anything in the log files too? is there a fix for this issue?
@musaa32 different issue => please raise a separate ticket
you might want to search the forums first as it might be a known setup issue with nginx, see https://owncloud.org/support/
sorry but I still get the error in the console if I want to rescan my files with
php console.php files:scan --all
PHP Fatal error: Call to a member function processAttributes() on a non-object in /owncloud/apps/user_ldap/lib/access.php on line 717
I think there is an user with faulty settings? I can scan my files without errors
Okay, I'll reopen it then. Is there more to the error message like a stack trace ?
CC @blizzz
@musaa32 this is fixed with https://github.com/owncloud/core/pull/20804 but needs to be tested and reviewed (→ you are invited :) )
No only the exception below. owncloud.log
{"reqId":"yw08A5I+voRLzCb6Iif7","remoteAddr":"","app":"PHP","message":"Call to a member function processAttributes() on a non-object at \/owncloud\/apps\/user_ldap\/lib\/access.php#717","level":3,"time":"December 21, 2015 14:45:41"}
@blizzz thank you, I guess I only need the changes in apps/user_ldap/user_ldap.php and apps/user_ldap/lib/access.php right (https://github.com/owncloud/core/commit/9487cb95f385f249a6aaa1912f425c002b780a83) ?
edit: seems to work, thank you guys
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.