• Hi,

    The plugin have a conflict with the official FoxPost plugin (link: https://foxpost.hu/uploads/information-aid/woocommerce/latest/foxpost-wc-shipping-1.0.8.zip ). When the FoxPost plugin active, the created Flexible Shipping method i choose on the cart page, it will be critical error page.

    There is the log:

    2024-08-02T01:55:11+00:00 Critical Uncaught Error: Call to protected method WPDesk\FS\TableRate\ShippingMethodSingle::init() from scope Foxpost_Woo_Parcel\Includes\Foxpost_Woo_Parcel_Shipping_Method in /path/wp-content/plugins/foxpost-woo-parcel/includes/abstract-foxpost-woo-parcel-shipping-method.php:401  
    More:
    {
    "error": {
    "type": 1,
    "file": "/path/wp-content/plugins/foxpost-woo-parcel/includes/abstract-foxpost-woo-parcel-shipping-method.php",
    "line": 401
    },
    "backtrace": [
    "",
    "#0 /path/wp-content/plugins/foxpost-woo-parcel/includes/class-foxpost-woo-parcel-public.php(537): Foxpost_Woo_Parcel\Includes\Foxpost_Woo_Parcel_Shipping_Method::initShippingMethodInstance()",
    "#1 /path/wp-content/plugins/foxpost-woo-parcel/includes/class-foxpost-woo-parcel-public.php(506): Foxpost_Woo_Parcel\Includes\Foxpost_Woo_Parcel_Public->isPhoneNumberRequired()",
    "#2 /path/wp-includes/class-wp-hook.php(324): Foxpost_Woo_Parcel\Includes\Foxpost_Woo_Parcel_Public->woo_parcel_override_checkout_fields()",
    "#3 /path/wp-includes/plugin.php(205): WP_Hook->apply_filters()",
    "#4 /path/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(300): apply_filters()",
    "#5 /path/wp-content/plugins/woocommerce/templates/checkout/form-checkout.php(34): WC_Checkout->get_checkout_fields()",
    "#6 /path/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('...')",
    "#7 /path/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(372): wc_get_template()",
    "#8 /path/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(69): WC_Shortcode_Checkout::checkout()",
    "#9 /path/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Checkout::output()",
    "#10 /path/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(95): WC_Shortcodes::shortcode_wrapper()",
    "#11 /path/wp-includes/shortcodes.php(434): WC_Shortcodes::checkout()",
    "#12 [internal function]: do_shortcode_tag()",
    "#13 /path/wp-includes/shortcodes.php(273): preg_replace_callback()",
    "#14 /path/wp-includes/class-wp-hook.php(324): do_shortcode()",
    "#15 /path/wp-includes/plugin.php(205): WP_Hook->apply_filters()",
    "#16 /path/wp-includes/post-template.php(256): apply_filters()",
    "#17 /path/wp-content/themes/storefront/inc/storefront-template-functions.php(352): the_content()",
    "#18 /path/wp-includes/class-wp-hook.php(324): storefront_page_content()",
    "#19 /path/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()",
    "#20 /path/wp-includes/plugin.php(517): WP_Hook->do_action()",
    "#21 /path/wp-content/themes/storefront/content-page.php(18): do_action()",
    "#22 /path/wp-includes/template.php(812): require('...')",
    "#23 /path/wp-includes/template.php(745): load_template()",
    "#24 /path/wp-includes/general-template.php(206): locate_template()",
    "#25 /path/wp-content/themes/storefront/template-fullwidth.php(21): get_template_part()",
    "#26 /path/wp-includes/template-loader.php(106): include('...')",
    "#27 /path/wp-blog-header.php(19): require_once('...')",
    "#28 /path/index.php(17): require('...')",
    "#29 {main}",
    "thrown"
    ]
    }

    I sent that for the FoxPost plugin developer, but i think it’s important for You.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support lusp

    (@lusp)

    Hi @rtomo,

    Thank you for bringing this to our attention. It seems that the problem is related to the fact that the FoxPost plugin is calling init() on Flexible Shipping shipping methods while it shouldn’t. Please let us know once you receive a response from the FoxPost team and keep us updated on this matter.

    Kind regards,
    Luke

    Plugin Support lusp

    (@lusp)

    Since there are no further inquiries concerning this case, I’m marking this thread as resolved.

    Kind regards,
    Luke

    Thread Starter Tamas Rottenbacher

    (@rtomo)

    Hi,

    I’m waiting for the Foxpost plugin developer reply.

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