humanmade / hm-platform

HM Hosting platform required plugins
https://engineering.hmn.md/platform/plugins/
23 stars 4 forks source link

Update Aws X-Ray plugin to v1.2.11 #181

Closed Nikschavan closed 4 years ago

Nikschavan commented 4 years ago

This was missed from last release - https://github.com/humanmade/hm-platform/pull/180

And fixes PHP error -

[01-Jul-2020 01:16:21 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method HM\Platform\XRay\Query_Monitor\Collector::name() in /chassis/content/plugins/query-monitor/output/Html.php:22
Stack trace:
#0 /chassis/content/plugins/query-monitor/output/Html.php(79): QM_Output_Html->name()
#1 /chassis/content/hm-platform/plugins/aws-xray/inc/query_monitor/class-output-flamegraph-html.php(30): QM_Output_Html->before_non_tabular_output('qm-aws-xray-fla...')
#2 /chassis/content/plugins/query-monitor/dispatchers/Html.php(251): HM\Platform\XRay\Query_Monitor\Output_Flamegraph_Html->output()
#3 /chassis/wordpress/wp-includes/class-wp-hook.php(288): QM_Dispatcher_Html->dispatch('')
#4 /chassis/wordpress/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
#5 /chassis/wordpress/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#6 /chassis/wordpress/wp-includes/load.php(947): do_action('shutdown')
#7 [internal function]: shutdown_action_hook()
#8 {main}
  thrown in /chassis/content/plugins/query-monitor/output/Html.php on line 22