Support » Plugin: Shipping Method Description for WooCommerce » Warning: count(): Parameter ERROR

  • Resolved stewcurtis

    (@stewcurtis)


    This plugin is exactly what I was looking for – it’s great, but unfortunately provides an error on both the front and backend once activated.

    Here is a link to a screenshot of the error occurring on the frontend:
    https://prnt.sc/20nnqn4

    I’ve since turned this off for now so that customers cannot see it.

    Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/yours4floors.co.uk/public_html/wp-content/plugins/wc-shipping-method-description/shipping-method-description-for-woocommerce.php on line 77

    Any idea how to fix please?

    Thank you in advance.

    • This topic was modified 5 months, 3 weeks ago by stewcurtis.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author thomascharbit

    (@thomascharbit)

    Hi Stew,

    Thank you for your feedback, this is indeed a bug.
    I fixed it in the latest release (1.2.0).

    But it is kind of weird that you stumbled upon this case, it means the plugin was not able to insert its description field in the edit form.

    Can you send a screenshot of the shipping method edit form using the 1.2.0 version?

    thanks,

    Thread Starter stewcurtis

    (@stewcurtis)

    Hi Thomas,

    Amazing – thanks so much for highlighting that this has been fixed.

    I can confirm it’s working perfectly now that I’ve updated the plugin to 1.2.0.

    Congratulations on a great plugin and thank you so much for taking the time to complete this. Here is the screenshot of the revised as requested: https://ibb.co/C61CbnL

    Kind regards,
    Stewart

    Plugin Author thomascharbit

    (@thomascharbit)

    Nice!
    Everything looks fine on your screenshot so i will mark this as resolved.

    Thanks for the kind words.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.