Author |
|
wbenkhoud Groupie
Joined: 16 July 2019 Location: Tunisia
Online Status: Offline Posts: 50
|
Posted: 31 July 2019 at 1:10am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 31 July 2019 at 1:12am | IP Logged
|
|
|
Quote:
I use SupportedServers "*" |
|
|
It needs to be ["*"] (array rather than a string).
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
wbenkhoud Groupie
Joined: 16 July 2019 Location: Tunisia
Online Status: Offline Posts: 50
|
Posted: 31 July 2019 at 2:21am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 20 August 2019 at 1:33am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 22 August 2019 at 1:39am | IP Logged
|
|
|
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 |
|
|