Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Webmail Pro LDAP ChangePassword Error Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
wbenkhoud
Groupie
Groupie
Avatar

Joined: 16 July 2019
Location: Tunisia
Online Status: Offline
Posts: 50
Posted: 31 July 2019 at 1:10am | IP Logged Quote wbenkhoud

Hello,

When testing changing password using LDAP I have an error described bellow.
"
I use SupportedServers "*"

[10:07:47.16][6e1effad] Execute subscription: LdapChangePasswordPlugin::onBeforeChangePassword
[10:07:47.17][6e1effad] PHP[NOTICE]: /srv/www/webmail835/modules/LdapChangePasswordPlugin/Module.php [line:178, code:2]
[10:07:47.17][6e1effad] PHP[NOTICE]: Error: in_array() expects parameter 2 to be array, null given


Please help

Best regards,
Wafa Ben Khoud
Back to Top View wbenkhoud's Profile Search for other posts by wbenkhoud
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6103
Posted: 31 July 2019 at 1:12am | IP Logged Quote Igor

Quote:
I use SupportedServers "*"


It needs to be ["*"] (array rather than a string).

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
wbenkhoud
Groupie
Groupie
Avatar

Joined: 16 July 2019
Location: Tunisia
Online Status: Offline
Posts: 50
Posted: 31 July 2019 at 2:21am | IP Logged Quote wbenkhoud

Hi,

Yes, Configuration set is :

   "SupportedServers": [
        ["*"],
        "array"
    ],

Giving this error :

[09:20:09.71][c026667d] Execute subscription: Core::onBeforeRunEntry
[09:20:09.71][c026667d] Execute subscription: OfficeDocumentViewer::onBeforeFileViewEntry
[09:20:09.71][c026667d] API: Mail::ChangePassword
[09:20:09.71][c026667d] Execute subscription: LdapChangePasswordPlugin::onBeforeChangePassword
[09:20:09.71][c026667d] PHP[NOTICE]: /srv/www/webmail835/modules/LdapChangePasswordPlugin/Module.php [line:178, code:2]
[09:20:09.71][c026667d] PHP[NOTICE]: Error: in_array() expects parameter 2 to be array, null given
[09:20:09.72][c026667d] Execute subscription: Core::onAfterChangePassword
Back to Top View wbenkhoud's Profile Search for other posts by wbenkhoud
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6103
Posted: 20 August 2019 at 1:33am | IP Logged Quote Igor

The developers have provided an update for this plugin which should fix the issue. Please download the archive and replace modules/LdapChangePasswordPlugin/Module.php file with one of the archive.

Hope this helps.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6103
Posted: 22 August 2019 at 1:39am | IP Logged Quote Igor

Please note that there's a known issue with that package, it will be fixed in the next release. Till then, a patch provided by one of our valued customers should help.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide