Call to undefined function wc_print_notices
`Fatal error: Uncaught Error: Call to undefined function wc_print_notices() in /homepages/9/d850359870/htdocs/clickandbuilds/Todotix2021/wp-content/themes/myticket/inc/shortcodes/widgets/myticket-events-ticketnum.php:58 Stack trace: #0 /homepages/9/d850359870/htdocs/clickandbuilds/Todotix2021/wp-content/plugins/so-widgets-bundle/base/siteorigin-widget.class.php(219): include() #1 /homepages/9/d850359870/htdocs/clickandbuilds/Todotix2021/wp-content/plugins/siteorigin-panels/inc/renderer.php(558): SiteOrigin_Widget->widget(Array, Array) #2 /homepages/9/d850359870/htdocs/clickandbuilds/Todotix2021/wp-content/plugins/siteorigin-panels/inc/renderer.php(870): SiteOrigin_Panels_Renderer->the_widget(Array, Array, 0, 0, 2, false, true, 3582, '') #3 /homepages/9/d850359870/htdocs/clickandbuilds/Todotix2021/wp-content/plugins/siteorigin-panels/inc/renderer.php(838): SiteOrigin_Panels_Renderer->render_widget(3582, 0, 0, 2, Array, true) #4 /homepages/9/d850359870/htdocs/clickandbuilds/Todotix2021/wp-content/plugins/siteorigin-panels/in in /homepages/9/d850359870/htdocs/clickandbuilds/Todotix2021/wp-content/themes/myticket/inc/shortcodes/widgets/myticket-events-ticketnum.php on line 58`
What should I do with this error?
`Fatal error: Uncaught Error: Call to undefined function wc_print_notices() in /homepages/9/d850359870/htdocs/clickandbuilds/Todotix2021/wp-content/themes/myticket/inc/shortcodes/widgets/myticket-events-ticketnum.php:58 Stack trace: #0 /homepages/9/d850359870/htdocs/clickandbuilds/Todotix2021/wp-content/plugins/so-widgets-bundle/base/siteorigin-widget.class.php(219): include() #1 /homepages/9/d850359870/htdocs/clickandbuilds/Todotix2021/wp-content/plugins/siteorigin-panels/inc/renderer.php(558): SiteOrigin_Widget->widget(Array, Array) #2 /homepages/9/d850359870/htdocs/clickandbuilds/Todotix2021/wp-content/plugins/siteorigin-panels/inc/renderer.php(870): SiteOrigin_Panels_Renderer->the_widget(Array, Array, 0, 0, 2, false, true, 3582, '') #3 /homepages/9/d850359870/htdocs/clickandbuilds/Todotix2021/wp-content/plugins/siteorigin-panels/inc/renderer.php(838): SiteOrigin_Panels_Renderer->render_widget(3582, 0, 0, 2, Array, true) #4 /homepages/9/d850359870/htdocs/clickandbuilds/Todotix2021/wp-content/plugins/siteorigin-panels/in in /homepages/9/d850359870/htdocs/clickandbuilds/Todotix2021/wp-content/themes/myticket/inc/shortcodes/widgets/myticket-events-ticketnum.php on line 58`
What should I do with this error?