TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/sites/web19/web/scripts/horse.php:223
Stack trace:
#0 /home/sites/web19/web/scripts/horse.php(95): view()
#1 /usr/local/share/glassbox/4.0.1/glassbox/modules/render.php(235): page_header_horse()
#2 /usr/local/share/glassbox/4.0.1/glassbox/modules/render.php(113): render->html()
#3 /usr/local/share/glassbox/4.0.1/glassbox/modules/render.php(98): render->show()
#4 /usr/local/share/glassbox/4.0.1/glassbox/libglassbox.php(161): render->display()
#5 /usr/local/share/glassbox/4.0.1/glassbox/index.php(16): Glassbox->module_render()
#6 /home/sites/web19/web/index.php(3): require_once('...')
#7 {main}

TypeError Object
(
    [message:protected] => count(): Argument #1 ($value) must be of type Countable|array, null given
    [string:Error:private] => TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/sites/web19/web/scripts/horse.php:223
Stack trace:
#0 /home/sites/web19/web/scripts/horse.php(95): view()
#1 /usr/local/share/glassbox/4.0.1/glassbox/modules/render.php(235): page_header_horse()
#2 /usr/local/share/glassbox/4.0.1/glassbox/modules/render.php(113): render->html()
#3 /usr/local/share/glassbox/4.0.1/glassbox/modules/render.php(98): render->show()
#4 /usr/local/share/glassbox/4.0.1/glassbox/libglassbox.php(161): render->display()
#5 /usr/local/share/glassbox/4.0.1/glassbox/index.php(16): Glassbox->module_render()
#6 /home/sites/web19/web/index.php(3): require_once('...')
#7 {main}
    [code:protected] => 0
    [file:protected] => /home/sites/web19/web/scripts/horse.php
    [line:protected] => 223
    [trace:Error:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/sites/web19/web/scripts/horse.php
                    [line] => 95
                    [function] => view
                )

            [1] => Array
                (
                    [file] => /usr/local/share/glassbox/4.0.1/glassbox/modules/render.php
                    [line] => 235
                    [function] => page_header_horse
                )

            [2] => Array
                (
                    [file] => /usr/local/share/glassbox/4.0.1/glassbox/modules/render.php
                    [line] => 113
                    [function] => html
                    [class] => render
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /usr/local/share/glassbox/4.0.1/glassbox/modules/render.php
                    [line] => 98
                    [function] => show
                    [class] => render
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => /usr/local/share/glassbox/4.0.1/glassbox/libglassbox.php
                    [line] => 161
                    [function] => display
                    [class] => render
                    [type] => ->
                )

            [5] => Array
                (
                    [file] => /usr/local/share/glassbox/4.0.1/glassbox/index.php
                    [line] => 16
                    [function] => module_render
                    [class] => Glassbox
                    [type] => ->
                )

            [6] => Array
                (
                    [file] => /home/sites/web19/web/index.php
                    [line] => 3
                    [args] => Array
                        (
                            [0] => /usr/local/share/glassbox/4.0.1/glassbox/index.php
                        )

                    [function] => require_once
                )

        )

    [previous:Error:private] => 
)