Title: PHP warning
Last modified: July 16, 2019

---

# PHP warning

 *  [icke2019](https://wordpress.org/support/users/icke2019/)
 * (@icke2019)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/php-warning-201/)
 * Hi,
 * when I use PHP Version 7.2.11 or higher I get this warning in the widgets section:
   “
   count(): Parameter must be an array or an object that implements Countable”.
 * How can I fix it?
 * Michael

The topic ‘PHP warning’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/avant/1.2.01/screenshot.png)
 * Avant
 * [Support Threads](https://wordpress.org/support/theme/avant/)
 * [Active Topics](https://wordpress.org/support/theme/avant/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/avant/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/avant/reviews/)

## Tags

 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * 0 replies
 * 1 participant
 * Last reply from: [icke2019](https://wordpress.org/support/users/icke2019/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/php-warning-201/)
 * Status: not resolved