Problem with convert smilies function and newscard premium.
PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /usr/local/lsws/Example/html/wordpress/wp-includes/formatting.php:3466
Stack trace:
#0 /usr/local/lsws/Example/html/wordpress/wp-includes/class-wp-hook.php(308): convert_smilies()
#1 /usr/local/lsws/Example/html/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /usr/local/lsws/Example/html/wordpress/wp-includes/formatting.php(3928): apply_filters()
#3 /usr/local/lsws/Example/html/wordpress/wp-includes/class-wp-hook.php(308): wp_trim_excerpt()
#4 /usr/local/lsws/Example/html/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#5 /usr/local/lsws/Example/html/wordpress/wp-includes/post-template.php(431): apply_filters()
#6 /usr/local/lsws/Example/html/wordpress/wp-content/themes/newscard-pro/template-parts/content.php(79): get_the_excerpt()
#7 /usr/local/lsws/Example/html/wordpress/wp-includes/template.php(785): require(‘…’)
#8 /usr/local/lsws/Example/html/wordpress/wp-includes/template.php(718): load_template()
#9 /usr/local/lsws/Example/html/wordpress/wp-includes/general-template.php(204): locate_template()
#10 /usr/local/lsws/Example/html/wordpress/wp-content/themes/newscard-pro/archive.php(32): get_template_part()
#11 /usr/local/lsws/Example/html/wordpress/wp-includes/template-loader.php(106): include(‘…’)
#12 /usr/local/lsws/Example/html/wordpress/wp-blog-header.php(19): require_once(‘…’)
#13 /usr/local/lsws/Example/html/wordpress/index.php(17): require(‘…’)
#14 {main}
thrown in /usr/local/lsws/Example/html/wordpress/wp-includes/formatting.php on line 3466