Warning: Undefined variable $entries in /var/www/html/login/modules/Blog/template/shortcode-new-list.php on line 2

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/html/login/modules/Blog/template/shortcode-new-list.php:2 Stack trace: #0 /var/www/html/login/modules/Blog/Blog.php(1401): include() #1 [internal function]: PiCms\Blog\Blog->loadNewsList() #2 /var/www/html/login/modules/Content/Content.php(1620): call_user_func() #3 [internal function]: PiCms\Content\Content->PiCms\Content\{closure}() #4 /var/www/html/login/modules/Content/Content.php(1552): preg_replace_callback() #5 /var/www/html/login/modules/Content/Content.php(89): PiCms\Content\Content->processShortCodes() #6 /var/www/html/templates/static.php(8): PiCms\Content\Content->load_block() #7 /var/www/html/templates/_base.php(73): include('...') #8 /var/www/html/index.php(52): include('...') #9 {main} thrown in /var/www/html/login/modules/Blog/template/shortcode-new-list.php on line 2