Message: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Array 
                 ORDER BY name' at line 3
Array ( [0] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/onessarudnru/class/BaseModel.php [line] => 120 [function] => getAllWithPrepere [class] => DB [type] => :: [args] => Array ( [0] => SELECT one_tree.id FROM one_relations INNER JOIN one_tree ON id1 = one_tree.id WHERE one_tree.site=1 AND modul1 = :module1 AND modul2 = :module2 AND id2 = :id2 AND one_tree.visible = 1 Array ORDER BY name [1] => Array ( [module1] => tree [module2] => direction [id2] => 1 ) [2] => id [3] => [4] => 0 [5] => 1 [6] => 1 ) ) [1] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/models/Education/InstituteModel.php [line] => 424 [function] => getIdsByModule [class] => Base [type] => :: [args] => Array ( [0] => direction [1] => Array ( ) [2] => ORDER BY name ) ) [2] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/controllers/Education/EducationController.php [line] => 288 [function] => getDirections [class] => Institute [object] => Institute Object ( [condition_name:protected] => Array ( [category] => getCategoryByArray [ids] => getElementsByArray ) [conditionIds:protected] => Array ( ) [reference_name:protected] => Array ( ) [order:Institute:private] => udate DESC, name [index_module:Institute:private] => faculties_and_institutes [cat_module:Institute:private] => Institute_cat [department:Institute:private] => department [direction_module:Institute:private] => direction [child_module:Institute:private] => department [child_module_direction:Institute:private] => direction_institute [module:Institute:private] => Institute [rn_level_of_training:Institute:private] => level_of_training [instituteLimit:Institute:private] => 100 [departmentLimit:Institute:private] => 10 [directionLimit:Institute:private] => 100 ) [type] => -> [args] => Array ( [0] => Array ( ) ) ) [3] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/controllers/Education/EducationController.php [line] => 218 [function] => getReferences [class] => EducationController [object] => EducationController Object ( [rules:protected] => Array ( [q] => Array ( [type] => string ) [action] => Array ( [type] => string ) [mode_of_study] => Array ( [type] => string [options] => Array ( [default] => 0 [array] => 1 ) ) [level_of_training] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [institute] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [language] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [direction] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [conditions_of_education] => Array ( [type] => string [options] => Array ( [default] => 0 [array] => 1 [value] => Array ( [0] => state_funded [1] => contract ) ) ) [towns] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [second_diploma] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [price_from] => Array ( [type] => float [options] => Array ( [default] => 0 ) ) [price_to] => Array ( [type] => float [options] => Array ( [default] => 0 ) ) [change_input] => Array ( [type] => string ) [tab] => Array ( [type] => string ) [page] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) ) [departmentLimit:EducationController:private] => 10 ) [type] => -> [args] => Array ( ) ) [4] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/controllers/Education/EducationController.php [line] => 55 [function] => getDirectionInstitute [class] => EducationController [object] => EducationController Object ( [rules:protected] => Array ( [q] => Array ( [type] => string ) [action] => Array ( [type] => string ) [mode_of_study] => Array ( [type] => string [options] => Array ( [default] => 0 [array] => 1 ) ) [level_of_training] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [institute] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [language] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [direction] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [conditions_of_education] => Array ( [type] => string [options] => Array ( [default] => 0 [array] => 1 [value] => Array ( [0] => state_funded [1] => contract ) ) ) [towns] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [second_diploma] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [price_from] => Array ( [type] => float [options] => Array ( [default] => 0 ) ) [price_to] => Array ( [type] => float [options] => Array ( [default] => 0 ) ) [change_input] => Array ( [type] => string ) [tab] => Array ( [type] => string ) [page] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) ) [departmentLimit:EducationController:private] => 10 ) [type] => -> [args] => Array ( [0] => Array ( [id] => 2363 [level] => 7 [left_key] => 18099 [right_key] => 18100 [parent] => 2351 [name] => 兽医学 [name_ru] => Ветеринария [seo_title] => 兽医学 [seo_keywords] => 兽医学 [seo_description] => 兽医学 [site] => 1 [path] => veterinary-medicine [visible] => 1 [num] => 60 [cdate] => 2017-10-29 16:51:54 [mdate] => 2026-11-02 22:23:26 [udate] => 2017-10-29 18:51:00 [cuser] => 1 [modul] => 0 [search] => 0 [menu] => 0 [link] => [sitemap] => 1 [target_blank] => 0 [fields] => Array ( [direction] => 2362 [compound_block] => Array ( ) [files_preview_photo] => Array ( [image] => Array ( [0] => Array ( [id] => 3796 [name] => [dop] => [path] => /u/www/images/direction_institute/6.jpg [mime] => image [real_mime] => image/jpeg [size] => 41057 [num] => 0 [visible] => 1 [cdate] => 2018-07-16 19:31:50 [file] => Array ( [raz] => jpg [filesize] => 40 KB [real_mime] => image/jpeg [absolutesize] => 41057 [name] => 6.jpg [path] => /u/www/images/direction_institute/6.jpg [type] => image [mime] => image ) ) ) ) [description] =>

兽医能治疗农畜、家畜和外来动物及鸟类。他们能进行疾病预防,还可以实施手术,进行医疗和美容相关工作。疫苗接种、协助分娩,为生病宠物的主人提供咨询服务,监控救助单位的动物卫生环境和动物饲养条件 — 友大的兽医拥有这数十种专业技能。

[phone] => [extend_phone] => [email] => [address] => [schedule_days] => [schedule_hours] => ) [real_path] => /education/schools-and-departments/institutions/agricultural-technology-institute/directions/veterinary-medicine [direction] => Array ( [id] => 2362 [level] => 4 [left_key] => 43482 [right_key] => 43483 [parent] => 1931 [name] => 兽医学 [name_ru] => Ветеринария [seo_title] => 兽医学 [seo_keywords] => 兽医学 [seo_description] => 兽医学 [site] => 1 [path] => veterinary-medicine [visible] => 1 [num] => 1330 [cdate] => 2017-10-29 16:51:48 [mdate] => 2026-11-02 22:23:26 [udate] => 2017-10-29 18:51:00 [cuser] => 1 [modul] => 0 [search] => 1 [menu] => 0 [link] => [sitemap] => 0 [target_blank] => 0 [fields] => Array ( [educational_standard] => [educational_standard_rudn] => [in_departament] => ) ) [sub] => [institute] => 275 ) ) ) [5] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/onessarudnru/index.php [line] => 249 [function] => __construct [class] => EducationController [object] => EducationController Object ( [rules:protected] => Array ( [q] => Array ( [type] => string ) [action] => Array ( [type] => string ) [mode_of_study] => Array ( [type] => string [options] => Array ( [default] => 0 [array] => 1 ) ) [level_of_training] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [institute] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [language] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [direction] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [conditions_of_education] => Array ( [type] => string [options] => Array ( [default] => 0 [array] => 1 [value] => Array ( [0] => state_funded [1] => contract ) ) ) [towns] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [second_diploma] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [price_from] => Array ( [type] => float [options] => Array ( [default] => 0 ) ) [price_to] => Array ( [type] => float [options] => Array ( [default] => 0 ) ) [change_input] => Array ( [type] => string ) [tab] => Array ( [type] => string ) [page] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) ) [departmentLimit:EducationController:private] => 10 ) [type] => -> [args] => Array ( ) ) [6] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/index.php [line] => 4 [args] => Array ( [0] => /var/www/chinese/sites/cn.rudn.ru/public_html/onessarudnru/index.php ) [function] => require_once ) )
TypeError Object ( [message:protected] => in_array(): Argument #2 ($haystack) must be of type array, null given [string:Error:private] => [code:protected] => 0 [file:protected] => /var/www/chinese/sites/cn.rudn.ru/public_html/views/education/institutes/direction/form.php [line:protected] => 30 [trace:Error:private] => Array ( [0] => Array ( [function] => in_array [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/views/education/institutes/direction/form.php [line] => 30 ) [1] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/onessarudnru/class/View.php [line] => 78 [function] => include ) [2] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/views/education/institutes/direction/one.php [line] => 34 [function] => getRenderEmpty [class] => View [type] => :: ) [3] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/onessarudnru/class/View.php [line] => 56 [args] => Array ( [0] => /var/www/chinese/sites/cn.rudn.ru/public_html/views/education/institutes/direction/one.php ) [function] => include ) [4] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/onessarudnru/class/View.php [line] => 36 [function] => getRender [class] => View [type] => :: ) [5] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/controllers/Education/EducationController.php [line] => 240 [function] => render [class] => View [type] => :: ) [6] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/controllers/Education/EducationController.php [line] => 55 [function] => getDirectionInstitute [class] => EducationController [type] => -> ) [7] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/onessarudnru/index.php [line] => 249 [function] => __construct [class] => EducationController [type] => -> ) [8] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/index.php [line] => 4 [args] => Array ( [0] => /var/www/chinese/sites/cn.rudn.ru/public_html/onessarudnru/index.php ) [function] => require_once ) ) [previous:Error:private] => )