Title: Warning: Declaration should be compatible with
Last modified: October 18, 2019

---

# Warning: Declaration should be compatible with

 *  Resolved [apb1963](https://wordpress.org/support/users/apb1963/)
 * (@apb1963)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/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!

Viewing 1 replies (of 1 total)

 *  [Caleb Burks](https://wordpress.org/support/users/icaleb/)
 * (@icaleb)
 * Automattic Happiness Engineer
 * [8 years, 1 month ago](https://wordpress.org/support/topic/warning-declaration-should-be-compatible-with/#post-10071810)
 * 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.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [shipping](https://wordpress.org/support/topic-tag/shipping/)
 * [wp-cli](https://wordpress.org/support/topic-tag/wp-cli/)

 * 1 reply
 * 2 participants
 * Last reply from: [Caleb Burks](https://wordpress.org/support/users/icaleb/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/warning-declaration-should-be-compatible-with/#post-10071810)
 * Status: resolved