Replies: 4 comments 1 reply
-
|
Hello @tlvenn! |
Beta Was this translation helpful? Give feedback.
-
|
Well, to be clear, you can not "stop" these error. They are errors! But you can decide to downgrade their level (the "severity). |
Beta Was this translation helpful? Give feedback.
-
|
Got it, thanks a lot for the pointer, seems like the perfect solution.
Searching about this, I found the doc to force decalog to use another psr version Except that with Any idea what i might be missing ? |
Beta Was this translation helpful? Give feedback.
-
|
I fixed the issue by not trying to use the constant from Logger which is undefined in my case for some reason but the value directly. $levels[E_DEPRECATED] = 100; // Logger::DEBUG;I can see those constants defined in monolog Logger but I dont see how is this propagated to Decalog Logger. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to stop Error (E_DEPRECATED) being logged in prod and even if i try to filter it in my php.ini, I believe WP override this when it loads.
How can I override it again properly before other plugins are loaded ?
Beta Was this translation helpful? Give feedback.
All reactions