I have a custom shipping method (not legacy) inside a shipping zone.
If I switch to PHP 8.0 it stops working…
In front-end I get this message instead of shipping rate:
“There are no shipping options available. Please ensure that your address has been entered correctly, or contact us if you need any help.”.
Nothing changes if I select flat rate, quantity based or any other method.
I need to switch back to PHP 7.4 in order for it to work.
Already tried Twenty Three theme and all other plugins deactivated.
WP 6.1.1
WooCommerce 7.1.0
Same issue with free version.