# Warning: count(): Parameter must be an array or an object that implements Countable in C:\\Users\\iamap\\Local Sites\\time\\app\\public\\wp-includes\\formatting.php on line 3425

**URL:** <https://community.localwp.com/t/warning-count-parameter-must-be-an-array-or-an-object-that-implements-countable-in-c-users-iamap-local-sites-time-app-public-wp-includes-formatting-php-on-line-3425/34395>\
**Category:** Support\
**Created:** [November 24, 2022, 7:21am UTC](https://community.localwp.com/t/warning-count-parameter-must-be-an-array-or-an-object-that-implements-countable-in-c-users-iamap-local-sites-time-app-public-wp-includes-formatting-php-on-line-3425/34395 "2022-11-24T07:21:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![apoorv.dev](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/apoorv.dev/32/14932_2.png) [@apoorv.dev](https://community.localwp.com/u/apoorv.dev)\
**Post date:** [November 24, 2022, 7:21am UTC](https://community.localwp.com/t/warning-count-parameter-must-be-an-array-or-an-object-that-implements-countable-in-c-users-iamap-local-sites-time-app-public-wp-includes-formatting-php-on-line-3425/34395/1 "2022-11-24T07:21:43Z")

</div>

Hey, I am getting this error on my WordPress site whenever i try to add a woo-commerce product widget that has multiple objects. I am using the latest version of Local. my PHP version is 7.4

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [February 22, 2023, 7:22am UTC](https://community.localwp.com/t/warning-count-parameter-must-be-an-array-or-an-object-that-implements-countable-in-c-users-iamap-local-sites-time-app-public-wp-includes-formatting-php-on-line-3425/34395/2 "2023-02-22T07:22:26Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
