• Resolved apb1963

    (@apb1963)


    The below appears on my web page, when I click on My Account -> Manage Shipping & Billing, after going to the domain.com/?page_id=8&edit-address page:

    Warning: Declaration of Phoen_Shipping_Method::calculate_shipping($package) should be compatible with WC_Shipping_Method::calculate_shipping($package = Array) in /data/local/src/template.domain.com/wp-content/plugins/woo-product-shipping-table/main.php on line 74

    I have no idea what “should be compatible” means in the context of a warning (if it’s compatible, why is there a warning? If it’s not compatible, then does anyone really care if it “should” be?

    Perhaps the message meant to say “should be compatible – but it’s not”. Or something else entirely that conveys what the issue actually is.

    Note: I created the shop pages through wp-cli, not the wizard. I don’t know if that makes any difference.

    Thank you advance!

Viewing 1 replies (of 1 total)
  • Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    The woo-product-shipping-table plugin is causing problems. Or another plugin if Phoen_Shipping_Method rings a bell for another plugin.

    This is definitely not core WooCommerce related, need to contact those plugin authors as the shipping plugins have errors.

Viewing 1 replies (of 1 total)

The topic ‘Warning: Declaration should be compatible with’ is closed to new replies.