• Resolved inspired888

    (@inspired888)


    Very recently (not quite sure when it started) I’ve started getting the following error in the Cart and in the WooCommerce settings in the back-end.

    Warning: Declaration of WC_Shipping_Australia_Post::calculate_shipping($package) should be compatible with WC_Shipping_Method::calculate_shipping($package = Array) in /home/couragem/public_html/wp-content/plugins/woocommerce-shipping-australia-post/includes/class-wc-shipping-australia-post.php on line 0

    I also get it for another shipping plug-in, mh-woocommerce-table-rate-shipping-plus/mh-wc-table-rate-plus.php (on line 55)

    Is this something you’ve come across, and is it caused by an issue in your plug-in?

Viewing 1 replies (of 1 total)
  • Plugin Author Waseem Senjer

    (@waseem_senjer)

    Hi @inspired888

    Looking to the files structure in the error message, I can confirm that you’re not using this plugin but a different one.

    Our plugin’s main file would be

    australian-post-woocommerce-extension/class-australian-post.php

    Anyway, I think you need to update your plugin because I think it’s not compatible with WooCommerce 2.6+ Please, find your plugin vendor from the Plugins page and contact them.

Viewing 1 replies (of 1 total)

The topic ‘Started seeing Warning: Declaration … error’ is closed to new replies.