TypeError Object
(
    [message:protected] => count(): Argument #1 ($value) must be of type Countable|array, null given
    [string:Error:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/onetouch/sites/fr.rudn.ru/public_html/models/SitemapModel.php
    [line:protected] => 74
    [trace:Error:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/onetouch/sites/fr.rudn.ru/public_html/models/SitemapModel.php
                    [line] => 81
                    [function] => getSitemapBranch
                    [class] => Sitemap
                    [type] => ::
                )

            [1] => Array
                (
                    [file] => /var/www/onetouch/sites/fr.rudn.ru/public_html/models/SitemapModel.php
                    [line] => 57
                    [function] => getSitemapBranch
                    [class] => Sitemap
                    [type] => ::
                )

            [2] => Array
                (
                    [file] => /var/www/onetouch/sites/fr.rudn.ru/public_html/controllers/Other/IndexController.php
                    [line] => 118
                    [function] => getSitemap
                    [class] => Sitemap
                    [type] => ::
                )

            [3] => Array
                (
                    [file] => /var/www/onetouch/sites/fr.rudn.ru/public_html/controllers/Other/IndexController.php
                    [line] => 24
                    [function] => sitemapPage
                    [class] => IndexController
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => /var/www/onetouch/sites/fr.rudn.ru/public_html/onessarudnru/index.php
                    [line] => 259
                    [function] => __construct
                    [class] => IndexController
                    [type] => ->
                )

            [5] => Array
                (
                    [file] => /var/www/onetouch/sites/fr.rudn.ru/public_html/index.php
                    [line] => 4
                    [args] => Array
                        (
                            [0] => /var/www/onetouch/sites/fr.rudn.ru/public_html/onessarudnru/index.php
                        )

                    [function] => require_once
                )

        )

    [previous:Error:private] => 
)