Fatal error: Uncaught Error: Non-static method WC_Legacy_REST_API_Plugin::hpos_is_enabled() cannot be called statically in /var/www/wp-content/plugins/woocommerce-legacy-rest-api/includes/class-wc-legacy-rest-api-plugin.php:77
Stack trace:
#0 /var/www/wp-content/plugins/woocommerce-legacy-rest-api/includes/class-wc-legacy-rest-api-plugin.php(28): WC_Legacy_REST_API_Plugin::maybe_add_hpos_incompatibility_admin_notice()
#1 /var/www/wp-includes/class-wp-hook.php(324): WC_Legacy_REST_API_Plugin::on_woocommerce_init('')
#2 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#3 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /var/www/wp-content/plugins/woocommerce/includes/class-woocommerce.php(781): do_action('woocommerce_ini...')
#5 /var/www/wp-includes/class-wp-hook.php(324): WooCommerce->init('')
#6 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#7 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#8 /var/www/wp-settings.php(700): do_action('init')
#9 /var/www/wp-config.php(100): require_once('/var/www/wp-set...')
#10 /var/www/wp-load.php(50): require_once('/var/www/wp-con...')
#11 /var/www/wp-blog-header.php(13): require_once('/var/www/wp-loa...')
#12 /var/www/index.php(17): require('/var/www/wp-blo...')
#13 {main}
thrown in /var/www/wp-content/plugins/woocommerce-legacy-rest-api/includes/class-wc-legacy-rest-api-plugin.php on line 77