E_USER_WARNING are not shown in X-Ray
Investigate an issue where E_USER_WARNING errors are not being surfaced in XRay traces, test code:
php
trigger_error(
'[test]: I am a user warning',
E_USER_WARNING
);
foreach ( false as $foo );
E_USER_WARNING isn't surfaced in the trace.

Possibly related to https://github.com/humanmade/docker-wordpress-php/issues/142
hey @owaincuvelier . would you be able to provide approx. when are you planning to look at this ticket? thank you!
It would be helpful to know if it would be in the next two weeks or not as it affects planning for the sprint we are starting Monday the 10th.
@dianadvorska Please note this is an open source/public repository :) We don't provide timelines for bug fixes generally; if this is actively causing problems, please file a support ticket.
thanks @rmccue . It is causing problems, yes and this ticket is a follow up ticket from a support one :)
I'm not able to replicate this on the test environment.
With the code
if ( isset( $_GET['rmccue_cause_warning'] ) ) {
add_action( 'init', function () {
trigger_error( 'Test warning', E_USER_WARNING );
}, 100 );
}
I can get this error to show within the Altis Dashboard on a trace:
Have followed up in support to see if there's more detail about this.