Title: PHP Warning When Viewing Catalog
Last modified: November 15, 2019

---

# PHP Warning When Viewing Catalog

 *  Resolved [jmbronson](https://wordpress.org/support/users/jmbronson/)
 * (@jmbronson)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-warning-when-viewing-catalog/)
 * I get the following errors when trying to view my catalogs:
 * Warning: sizeof(): Parameter must be an array or an object that implements Countable
   in /home/bosslife/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/
   Shortcodes.php on line 1829
 * Warning: sizeof(): Parameter must be an array or an object that implements Countable
   in /home/bosslife/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/
   Shortcodes.php on line 1900
 * This issue seems to be similar to this one that was never TRULY resolved: [https://wordpress.org/support/topic/warning-sizeof/](https://wordpress.org/support/topic/warning-sizeof/)
 * However, I am running PHP version 7.3. Maybe an incompatibility with this version?
   Can you make it compatible?
    -  This topic was modified 6 years, 7 months ago by [jmbronson](https://wordpress.org/support/users/jmbronson/).

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

 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-warning-when-viewing-catalog/#post-12123778)
 * Hello [@jmbronson](https://wordpress.org/support/users/jmbronson/),
 * Could you try adding a product to your catalog and see if the issue still exists?
 *  Thread Starter [jmbronson](https://wordpress.org/support/users/jmbronson/)
 * (@jmbronson)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-warning-when-viewing-catalog/#post-12124521)
 * Still exists.
 *  Thread Starter [jmbronson](https://wordpress.org/support/users/jmbronson/)
 * (@jmbronson)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-warning-when-viewing-catalog/#post-12124534)
 * Actually, sorry….it seems the error is gone now, oddly.
 * I had products but they weren’t assigned to any catalog. I assigned them to my
   catalog and the error is gone, for now!!
 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-warning-when-viewing-catalog/#post-12128504)
 * Thank you for letting us know.

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

The topic ‘PHP Warning When Viewing Catalog’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-product-catalogue/assets/icon-128x128.png?rev=1805317)
 * [Ultimate Product Catalog](https://wordpress.org/plugins/ultimate-product-catalogue/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-product-catalogue/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-product-catalogue/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-product-catalogue/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-product-catalogue/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-product-catalogue/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/php-warning-when-viewing-catalog/#post-12128504)
 * Status: resolved