I got a similar error when my site updated to version 2.30.0, it crashed my site completely. Both users and admins unable to access any web-based anything – had to manually revert via command line.
CRITICAL Uncaught Error: Call to undefined function yith_plugin_fw_wc_is_using_block_template_in_single_product() in /home/718631.cloudwaysapps.com/myapp/public_html/wp-content/plugins/yith-woocommerce-compare/includes/class.yith-woocompare-frontend.php:896
Stack trace: 0 /home/718631.cloudwaysapps.com/myapp/public_html/wp-includes/class-wp-hook.php(308): YITH_Woocompare_Frontend->display_compare_button() 1 /home/718631.cloudwaysapps.com/myapp/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 2 /home/718631.cloudwaysapps.com/myapp/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 3 /home/718631.cloudwaysapps.com/myapp/public_html/wp-settings.php(486): do_action() 4 /home/718631.cloudwaysapps.com/myapp/public_html/wp-config.php(182): require_once(‘/home/718631.cl…’) 5 /home/718631.cloudwaysapps.com/myapp/public_html/wp-load.php(50): require_once(‘/home/718631.cl…’) 6 /home/718631.cloudwaysapps.com/myapp/public_html/wp-blog-header.php( in /home/718631.cloudwaysapps.com/myapp/public_html/wp-content/plugins/yith-woocommerce-compare/includes/class.yith-woocompare-frontend.php on line 896