On click on load more button following error messages are displayed.
Error message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /home/u914040766/domains/[beehive-media.com/public_html/wp-content/plugins/buddypress-media/app/main/RTMedia.php:186](http://beehive-media.com/public_html/wp-content/plugins/buddypress-media/app/main/RTMedia.php:186)
On click on load more button following error messages are displayed.
Error message: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /home/u914040766/domains/[beehive-media.com/public_html/wp-content/plugins/buddypress-media/app/main/RTMedia.php:186](http://beehive-media.com/public_html/wp-content/plugins/buddypress-media/app/main/RTMedia.php:186)
Note: Not able to reproduce the issue with the WP default theme. The above error is observed on the customer's site
Ref ticket: https://rtmedia.io/ticket/2848630/