Title: PHP warning
Last modified: January 16, 2018

---

# PHP warning

 *  Resolved [John](https://wordpress.org/support/users/dsl225/)
 * (@dsl225)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-warning-150/)
 * Hi,
 * I’m getting this since a couple of days.
    Maybe, but not sure, it coincides to
   the fact I switched to PHP 7.2?
 * `PHP Warning: count(): Parameter must be an array or an object that implements
   Countable in /wp-content/plugins/another-wordpress-classifieds-plugin/includes/
   listings/class-listings-finder.php on line 528`
 * Thanks.

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

 *  Plugin Author [AWP Classifieds Team](https://wordpress.org/support/users/awpcp/)
 * (@awpcp)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-warning-150/#post-9874309)
 * Hi [@dsl225](https://wordpress.org/support/users/dsl225/),
 * Sorry that you ran into issues here!
 * It would most likely be PHP 7.2. I don’t believe we’ve tested that with AWPCP
   quite yet, but we will certainly do so shortly.
 * Thanks for bringing it to our attention. We’ll get this resolved in a patch release
   shortly.
 *  Thread Starter [John](https://wordpress.org/support/users/dsl225/)
 * (@dsl225)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-warning-150/#post-9875873)
 * Yes, it appears it’s clearly related to 7.2 as I switched back to 7.1 and no 
   issues are showing up again. Thanks.
 *  Thread Starter [John](https://wordpress.org/support/users/dsl225/)
 * (@dsl225)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-warning-150/#post-9876083)
 * With 7.1 I have another one:
 * `PHP Warning: Illegal string offset 'image-dimensions' in /wp-content/plugins/
   another-wordpress-classifieds-plugin/includes/class-media-api.php on line 349`
 *  Thread Starter [John](https://wordpress.org/support/users/dsl225/)
 * (@dsl225)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-warning-150/#post-9885964)
 * And now this one, still in PHP 7.1:
 *     ```
       PHP Fatal error: Uncaught Error: [] operator not supported for strings in /wp-content/plugins/another-wordpress-classifieds-plugin/includes/listings/class-listings-finder.php:112
   
       Stack trace:
       #0 /wp-content/plugins/another-wordpress-classifieds-plugin/includes/listings/class-listings-finder.php(103): AWPCP_ListingsFinder->normalize_regions_query(Array)
       #1 /wp-content/plugins/another-wordpress-classifieds-plugin/includes/listings/class-listings-finder.php(20): AWPCP_ListingsFinder->normalize_query(Array)
       #2 /wp-content/plugins/another-wordpress-classifieds-plugin/includes/class-listings-collection.php(118): AWPCP_ListingsFinder->find(Array)
       #3 /wp-content/plugins/another-wordpress-classifieds-plugin/includes/functions/listings.php(39): AWPCP_ListingsCollection->find_enabled_listings_with_query(Array)
       #4 /wp-content in /wp-content/plugins/another-wordpress-classifieds-plugin/includes/listings/class-listings-finder.php on line 112
       ```
   
 *  Plugin Author [AWP Classifieds Team](https://wordpress.org/support/users/awpcp/)
 * (@awpcp)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-warning-150/#post-9918217)
 * Hi [@dsl225](https://wordpress.org/support/users/dsl225/),
 * We have a patch release coming out tonight that should address all of these issues,
   FYI. Version 3.8.3.
 *  Thread Starter [John](https://wordpress.org/support/users/dsl225/)
 * (@dsl225)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-warning-150/#post-9920084)
 * Great, thanks!

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

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

 * ![](https://ps.w.org/another-wordpress-classifieds-plugin/assets/icon-256x256.
   png?rev=2944356)
 * [AWP Classifieds](https://wordpress.org/plugins/another-wordpress-classifieds-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/another-wordpress-classifieds-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [John](https://wordpress.org/support/users/dsl225/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/php-warning-150/#post-9920084)
 * Status: resolved