Closed reneroboter closed 1 year ago
@reneroboter Thanks for reporting this issue. I haven't yet a fix ready for you but a solution is on its way where we can filter out deprecations from the handleError
method.
My only recommandation for now is to turn off direct reporting by setting the APP_DEBUG
variable to false
. Errors are still logged in the storage/logs
directory but at least you won't be annoyed by error exception rendering.
@reneroboter Deprecations support is now merged into the 3.0
branch. It's going to be released very soon.
Description
I use a third-party WordPress plugins from Yoast which has still deprecation warnings. Themosis throw a
ErrorException
for deprecation warnings when debugging is enabled. The reason is the custom registered error handler atThemosis\Core\Bootstrap
. ThehandleError
method doesn't consider customerror_reporting
levels.Steps to reproduce
APP_DEBUG=true
in your.env
FILTER_SANITIZE_STRING
Expected behavior
Further informations