Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When user login in to drupal (openatrium) see error:
Recoverable fatal error: Argument 1 passed to file_delete() must be an instance of stdClass, boolean given, called in */sites/all/modules/ldap/ldap_servers/LdapServer.class.php on line 1092 and defined w file_delete() (linia 1268 z */includes/file.inc).
Comment | File | Size | Author |
---|---|---|---|
#2 | 2014-11-18_13-54-34.jpg | 9.15 KB | matthewgann |
Comments
Comment #1
johnbarclay CreditAttribution: johnbarclay commentedWhat format is the image stored in in LDAP? If its binary, is it set to binary in the ldap user config?
Comment #2
matthewgann CreditAttribution: matthewgann commentedI'm having the same issue. It is binary, but the checkbox to choose binary is disabled (see image).
Comment #3
matthewgann CreditAttribution: matthewgann commentedComment #4
crystalgrafix CreditAttribution: crystalgrafix commentedHi, I'm facing the same problem right now. Can anyone please tell me if there's a patch for this?
Thanks
Comment #5
crystalgrafix CreditAttribution: crystalgrafix as a volunteer commentedI can confirm that this issue is also in 7.x-2.0-beta8 as well.
Comment #7
asmeets CreditAttribution: asmeets as a volunteer commentedHello everyone -
Have you checked that "Enable User Pictures" is checked in /admin/config/people/accounts? Without that being checked the thumbnail photo can't be stored in Drupal's profile for the user. We had this issue and this was the fix.
Adam
Comment #8
crystalgrafix CreditAttribution: crystalgrafix as a volunteer commentedThanks asmeets. This worked for me!
Comment #9
asmeets CreditAttribution: asmeets commentedGlad to hear it!