Title: Warning: count(): Parameter ERROR
Last modified: November 23, 2021

---

# Warning: count(): Parameter ERROR

 *  Resolved [stewcurtis](https://wordpress.org/support/users/stewcurtis/)
 * (@stewcurtis)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/warning-count-parameter-error/)
 * 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](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 4 years, 4 months ago by [stewcurtis](https://wordpress.org/support/users/stewcurtis/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [thomascharbit](https://wordpress.org/support/users/thomascharbit/)
 * (@thomascharbit)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/warning-count-parameter-error/#post-15106091)
 * 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](https://wordpress.org/support/users/stewcurtis/)
 * (@stewcurtis)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/warning-count-parameter-error/#post-15111423)
 * 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](https://ibb.co/C61CbnL)
 * Kind regards,
    Stewart
 *  Plugin Author [thomascharbit](https://wordpress.org/support/users/thomascharbit/)
 * (@thomascharbit)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/warning-count-parameter-error/#post-15112549)
 * 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)

The topic ‘Warning: count(): Parameter ERROR’ is closed to new replies.

 * ![](https://ps.w.org/wc-shipping-method-description/assets/icon-256x256.png?rev
   =2584055)
 * [Shipping Method Description for WooCommerce](https://wordpress.org/plugins/wc-shipping-method-description/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-shipping-method-description/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-shipping-method-description/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-shipping-method-description/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-shipping-method-description/reviews/)

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)

 * 3 replies
 * 2 participants
 * Last reply from: [thomascharbit](https://wordpress.org/support/users/thomascharbit/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/warning-count-parameter-error/#post-15112549)
 * Status: resolved