-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
It would be great to clump the entire PHP stack trace from PHP Notice or PHP Fatal through PHP Stack Trace and every identically timestamped line that follows.
[08-Aug-2018 02:28:22 UTC] PHP Notice: Undefined index: source in /Users/afragen/Documents/github/wp-debugging/vendor/afragen/wp-dependency-installer/wp-dependency-installer.php on line 427
[08-Aug-2018 02:28:22 UTC] PHP Stack trace:
[08-Aug-2018 02:28:22 UTC] PHP 1. {main}() /app/public/wp-admin/plugins.php:0
[08-Aug-2018 02:28:22 UTC] PHP 2. require_once() /app/public/wp-admin/plugins.php:459
[08-Aug-2018 02:28:22 UTC] PHP 3. do_action() /app/public/wp-admin/admin-header.php:267
[08-Aug-2018 02:28:22 UTC] PHP 4. WP_Hook->do_action() /app/public/wp-includes/plugin.php:465
[08-Aug-2018 02:28:22 UTC] PHP 5. WP_Hook->apply_filters() /app/public/wp-includes/class-wp-hook.php:310
[08-Aug-2018 02:28:22 UTC] PHP 6. WP_Dependency_Installer->admin_notices() /app/public/wp-includes/class-wp-hook.php:286
That whole trace could be a single div and sorted appropriately.
Maybe a regex from PHP Notice to PHP Notice or whatever that starting line happens to be.
Not easy I know.
Currently each line in it's own div and displayed in reverse.
Metadata
Metadata
Assignees
Labels
No labels