TypeError Object
(
    [message:protected] => array_shift(): Argument #1 ($array) must be of type array, null given
    [string:Error:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/onetouch/sites/eng.rudn.ru/public_html/controllers/Education/EducationController.php
    [line:protected] => 220
    [trace:Error:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/controllers/Education/EducationController.php
                    [line] => 220
                    [function] => array_shift
                )

            [1] => Array
                (
                    [file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/controllers/Education/EducationController.php
                    [line] => 55
                    [function] => getDirectionInstitute
                    [class] => EducationController
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/onessarudnru/index.php
                    [line] => 230
                    [function] => __construct
                    [class] => EducationController
                    [type] => ->
                )

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

                    [function] => require_once
                )

        )

    [previous:Error:private] => 
)