Title: PHP Fatal Error &#8211; Uncaught TypeError
Last modified: June 6, 2025

---

# PHP Fatal Error – Uncaught TypeError

 *  [Geek Goddess](https://wordpress.org/support/users/geek-goddess/)
 * (@geek-goddess)
 * [1 year ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-16/)
 * When I upgraded my site to PHP 8.3 I received the following Fatal error:
 * PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of
   type Countable|array, false given in <redacted>/wp-content/plugins/subscribe-
   to-comments/subscribe-to-comments.php:1520
   I fixed it by changing the code to
   the following:
 *     ```wp-block-code
       <?php if ( (is_countable( $postlist) && count( $postlist ) > 0) && is_array( $postlist ) ) { ?>
       ```
   
 * but that’s just a patch for the issue of course. Wanted you to be aware so it
   could be fixed in the next version. 🙂

The topic ‘PHP Fatal Error – Uncaught TypeError’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/subscribe-to-comments.svg)
 * [Subscribe to Comments](https://wordpress.org/plugins/subscribe-to-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/subscribe-to-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/subscribe-to-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/subscribe-to-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/subscribe-to-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/subscribe-to-comments/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Geek Goddess](https://wordpress.org/support/users/geek-goddess/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-16/)
 * Status: not resolved