Open babydraz opened 9 years ago
I'm also getting this issue, but only when running debugbar under PHP on Windows. On OS X the messages appear in the correct order. Did you find out what causes this, or did you use another workaround?
Upon further investigation, it looks like under Windows the messages are processed in a parallel fashion rather than in the serial sequence we see under OS X. Debugbar is simply reading the order of the messages in the JSON file of the produced output, so I wonder whether this is more a lower-level issue or difference between PHP on Windows and OS X than an issue in the front-end display.
This may not be the standard use case, but I was adding a number of messages at once and found that they rendered in the debug bar in a random order. Any ideas how to correct?
$debugbar['messages']->error('test'); $debugbar['messages']->warning('test'); $debugbar['messages']->notice('test'); $debugbar['messages']->alert('test'); $debugbar['messages']->debug('test');
$debugbar['messages']->info('test1'); $debugbar['messages']->info('test2'); $debugbar['messages']->info('test3'); $debugbar['messages']->info('test4');