|
|
Reporter | netniv | Assigned To | | |
---|
Priority | normal | Severity | crash | Reproducibility | have not tried |
---|
Status | acknowledged | Resolution | open | |
---|
|
|
Summary | 2033: Plugins can disable error reporting leading to false negatives |
---|
Description | Whilst investigating an issue with LDAP connectivity for a new system, plugins taken from the older system masked the errors being reported. This is because one of them override the PHP error_reporting value and set it to fatal only. This meant warnings and notices went undisplayed and caused a login loop. Later after resolving part of the issue, other errors which had been occurring for some time suddenly became visible highlighting other problems which had not been noticed in the current system as the plugin which disabled the error reporting did not have a problem but another one did which needed to be resolved. |
---|
Steps To Reproduce | Have a plugin call error_reporting at the start of its code block. |
---|
Additional Information | The error reporting value should be saved prior to calling a plugin function and then restored if modified to ensure consistency. That way, one plugin cannot affect another. |
---|
Tags | No tags attached. |
---|
|
|