fbpx

Home Forums Booster Plus Customer Forum Custom shipping not working with PHP 8

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #43070
    farnedi
    Participant

    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.

    #43071
    farnedi
    Participant

    After doing further tests it seems it’s not related to PHP version. Only variable products are affected when parent product’s weight is set.

    #43074
    farnedi
    Participant

    Ok the bug is clearer now:
    – On PHP 8 it happens all the time;
    – On PHP 7.4 it only happens with variable products where weight is set on parent product.

    #43079
    Don M
    Participant

    Hey guys, having the same problem here. After updating to 6.0.0 it has broken Booster Custom Shipping. Error: “There are no shipping options available. Please ensure that your address has been entered correctly, or contact us if you need any help.”. What to do to resolve this? I’ve tried almost everything, but the error originates from the plugin. I am on PHP version 7.4

    #43081
    Don M
    Participant

    Is there going to be a fix for this in the upcoming update?

    #43142
    Rony P
    Participant

    Hello,

    Thanks for reaching out to us.

    Kindly please replace place the attached file with the path to fix the issue:

    File Path: wp-content/plugins/woocommerce-jetpack/includes/shipping/class-wc-shipping-wcj-custom-with-shipping-zones.php

    Source Folder: https://storage.booster.io/custom-shipping-not-working-with-php-8/class-wc-shipping-wcj-custom-with-shipping-zones.zip

    Note: Unzip the file and replace the class-wc-shipping-wcj-custom-with-shipping-zones.php with the File Path.

    Kind Regards,
    RonyP – Support Team

    #43592
    Rony P
    Participant

    Hello,

    We have just released a new version of booster v6.0.1.
    Can you please upgrade the plugin and confirm whether your fix has been included or not?

    Kind Regards,
    RonyP – Support Team

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.