Warning: Declaration should be compatible with
-
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!
The topic ‘Warning: Declaration should be compatible with’ is closed to new replies.