Title: Fatal error: Uncaught TypeError: count():
Last modified: September 11, 2024

---

# Fatal error: Uncaught TypeError: count():

 *  Resolved [aspirov](https://wordpress.org/support/users/aspirov/)
 * (@aspirov)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-count-4/)
 * After I used the plugin for some time when I got the following error and all 
   the booking entries that were entered in the plugin disappeared:
 * **Fatal error**: Uncaught TypeError: count(): Argument #1 ($value) must be of
   type Countable|array, null given in /home/egradini/kartingacademy.bg/wp-content/
   plugins/appointment-hour-booking/cp-admin-int-message-list.inc.php:269 Stack 
   trace: #0 /home/egradini/kartingacademy.bg/wp-content/plugins/appointment-hour-
   booking/cp-main-class.inc.php(940): include_once() #1 /home/egradini/kartingacademy.
   bg/wp-includes/class-wp-hook.php(324): CP_AppBookingPlugin->settings_page(”) #
   2 /home/egradini/kartingacademy.bg/wp-includes/class-wp-hook.php(348): WP_Hook-
   >apply_filters(”, Array) #3 /home/egradini/kartingacademy.bg/wp-includes/plugin.
   php(517): WP_Hook->do_action(Array) #4 /home/egradini/kartingacademy.bg/wp-admin/
   admin.php(259): do_action(‘toplevel_page_c…’) #5 {main} thrown in **/home/egradini/
   kartingacademy.bg/wp-content/plugins/appointment-hour-booking/cp-admin-int-message-
   list.inc.php** on line **269**
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-uncaught-typeerror-count-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-count-4/#post-18010734)
 * Hi,
 * Please update to the latest version of the plugin (#1.4.84 or later) to correct
   that issue.
 * Thank you for using the plugin!

Viewing 1 replies (of 1 total)

The topic ‘Fatal error: Uncaught TypeError: count():’ is closed to new replies.

 * ![](https://ps.w.org/appointment-hour-booking/assets/icon-256x256.png?rev=1784135)
 * [Appointment Hour Booking - Booking Calendar](https://wordpress.org/plugins/appointment-hour-booking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/appointment-hour-booking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/appointment-hour-booking/)
 * [Active Topics](https://wordpress.org/support/plugin/appointment-hour-booking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/appointment-hour-booking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/appointment-hour-booking/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-count-4/#post-18010734)
 * Status: resolved