• Resolved kristh

    (@kristh)


    Hi,

    When logging in, wordpress reports fatal error from hide shipping method for woocommerce…

    This is the error:
    Fatal error: Uncaught Error: Call to a member function is_virtual() on bool in /home/556044.cloudwaysapps.com/sxygwjmtba/public_html/wp-content/plugins/hide-shipping-method-for-woocommerce/public/class-woo-hide-shipping-methods-public.php:204 Stack trace: #0 /home/556044.cloudwaysapps.com/sxygwjmtba/public_html/wp-content/plugins/hide-shipping-method-for-woocommerce/public/class-woo-hide-shipping-methods-public.php(1108): Woo_Hide_Shipping_Methods_Public->whsma_condition_match_rules() #1 /home/556044.cloudwaysapps.com/sxygwjmtba/public_html/wp-content/plugins/hide-shipping-method-for-woocommerce/public/class-woo-hide-shipping-methods-public.php(1178): Woo_Hide_Shipping_Methods_Public->whsm_shipping_match_methods() #2 /home/556044.cloudwaysapps.com/sxygwjmtba/public_html/wp-includes/class-wp-hook.php(292): Woo_Hide_Shipping_Methods_Public->whsmp_unset_shipping_method() #3 /home/556044.cloudwaysapps.com/sxygwjmtba/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters() #4 /home/556044.cloudwaysapps.com/sxygwjmtba/ in /home/556044.cloudwaysapps.com/sxygwjmtba/public_html/wp-content/plugins/hide-shipping-method-for-woocommerce/public/class-woo-hide-shipping-methods-public.php on line 204

    Any idea why this is happening?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Hitendra Chopda

    (@hitendra-chopda)

    Hello kristh,

    Thanks for contacting us and apologies for the inconvenience.

    This type of issue might become if you are using any custom product types.

    Can you please review at your side that all your products are simple, variables?

    Thanks,
    Hitendra & Dotstore Team

    Thread Starter kristh

    (@kristh)

    Hi,

    Indeed we use custom products like bundles and booking products…

    Is there a way to fix this?

    Plugin Support Hitendra Chopda

    (@hitendra-chopda)

    Hello kristh,

    Thanks for your reply.

    I think as mentioned in the error file with line no.

    You can comment below two lines and might it will work for you.

    File path: “public_html/wp-content/plugins/hide-shipping-method-for-woocommerce/public/class-woo-hide-shipping-methods-public.php”

    Line no: 204

    //if ( !$product_cart_array->is_virtual( 'yes' ) ) {
    
    ....
    //}

    Hope this helps.

    Best regards,
    Hitendra & Dotstore Team

    Plugin Support Hitendra Chopda

    (@hitendra-chopda)

    Hey there!

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to open a new thread if any other questions come up and we’d be happy to help. 🙂

    Best regards,
    Hitendra & Dotstore Team

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Fatal Error Login’ is closed to new replies.