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 ')' at line 1
Array ( [0] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/models/Media/EventsModel.php [line] => 862 [function] => getAllWithPrepere [class] => DB [type] => :: [args] => Array ( [0] => SELECT id FROM one_reference WHERE id IN () [1] => Array ( ) [2] => id [3] => [4] => 1 ) ) [1] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/onessarudnru/class/BaseModel.php [line] => 395 [function] => getDirection [class] => Events [object] => Events Object ( [condition_name:protected] => Array ( [direction] => Array ( [function] => getEventsByDirection [path] => direction_event_tree [type] => treeselect ) [subdirection] => Array ( [function] => getEventsByDirection [path] => direction_event_tree [type] => treeselect ) [type] => Array ( [function] => getListSelect [path] => type_events [type] => select ) [organizers] => Array ( [function] => getListSelect [path] => event_organizer [type] => select ) [format] => Array ( [function] => getListSelect [path] => event_format [type] => select ) [slider] => Array ( [function] => getEventsWithSlider [path] => to_main_slider ) [no_slider] => Array ( [function] => getEventsWithNoSlider [path] => to_main_slider ) [tag] => Array ( [function] => getEventsByTag ) [q] => Array ( [function] => getEventsByQuery ) [input_ids] => Array ( [function] => getEventsById ) [common_tags] => Array ( [function] => getEventsByCommonTags ) [years] => Array ( [function] => getEventsByYears ) [year] => Array ( [function] => getEventsByYears ) [month] => Array ( [function] => getEventsByPeriod [path] => month ) [coming_dates] => Array ( [function] => getEventsComingDates ) [area] => Array ( [function] => getEventsByArea [path] => research_area [type] => treeselect ) [subarea] => Array ( [function] => getEventsByArea [path] => research_area [type] => treeselect ) [begin] => Array ( [function] => getEventsByPeriod [path] => begin ) [end] => Array ( [function] => getEventsByPeriod [path] => end ) ) [conditionIds:protected] => Array ( [13200] => 13200 [12946] => 12946 [12942] => 12942 [12941] => 12941 [12938] => 12938 [12939] => 12939 [12947] => 12947 [13164] => 13164 [13165] => 13165 [13166] => 13166 [13170] => 13170 [13211] => 13211 [13187] => 13187 [13103] => 13103 [13102] => 13102 [13101] => 13101 [13100] => 13100 [12948] => 12948 [12985] => 12985 [12969] => 12969 [13014] => 13014 [12960] => 12960 [12986] => 12986 [12889] => 12889 [13063] => 13063 [12888] => 12888 [12216] => 12216 [12217] => 12217 [12225] => 12225 [12239] => 12239 [12295] => 12295 [12325] => 12325 [12681] => 12681 [12705] => 12705 [12940] => 12940 ) [reference_name:protected] => Array ( [direction] => Array ( [function] => getDirection [type_element] => treeselect ) [subdirection] => Array ( [function] => getSubDirection [type_element] => treeselect ) [type] => Array ( [function] => getReferenceFormTreeSelect [type] => select [path] => type_events [table] => reference [type_element] => checkbox ) [organizers] => Array ( [function] => getReferenceFormSelect [type] => select [path] => event_organizer [table] => reference [type_element] => select ) [format] => Array ( [function] => getReferenceFormSelect [type] => select [path] => event_format [table] => reference [type_element] => select ) [tag] => Array ( [function] => getTagByEvents ) [common_tags] => Array ( [function] => getReferenceFormTreeSelect [path] => common_tags [table] => reference [type_element] => select ) [month] => Array ( [function] => getMonthReference ) [year] => Array ( [function] => getYearReference ) ) [order:Events:private] => begin DESC [index_module:Events:private] => events_index [module:Events:private] => events [tag_path:Events:private] => tags [cat_research_areas:protected] => cats_research_areas [research_areas:protected] => research_areas [tag_name:Events:private] => tag [limit:Events:private] => 1000 ) [type] => -> [args] => Array ( [0] => Array ( [function] => getDirection [type_element] => treeselect [condition_value] => Array ( ) [ids] => Array ( [13200] => 13200 [12946] => 12946 [12942] => 12942 [12941] => 12941 [12938] => 12938 [12939] => 12939 [12947] => 12947 [13164] => 13164 [13165] => 13165 [13166] => 13166 [13170] => 13170 [13211] => 13211 [13187] => 13187 [13103] => 13103 [13102] => 13102 [13101] => 13101 [13100] => 13100 [12948] => 12948 [12985] => 12985 [12969] => 12969 [13014] => 13014 [12960] => 12960 [12986] => 12986 [12889] => 12889 [13063] => 13063 [12888] => 12888 [12216] => 12216 [12217] => 12217 [12225] => 12225 [12239] => 12239 [12295] => 12295 [12325] => 12325 [12681] => 12681 [12705] => 12705 [12940] => 12940 ) ) ) ) [2] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/onessarudnru/class/BaseModel.php [line] => 320 [function] => getReferenceList [class] => Base [object] => Events Object ( [condition_name:protected] => Array ( [direction] => Array ( [function] => getEventsByDirection [path] => direction_event_tree [type] => treeselect ) [subdirection] => Array ( [function] => getEventsByDirection [path] => direction_event_tree [type] => treeselect ) [type] => Array ( [function] => getListSelect [path] => type_events [type] => select ) [organizers] => Array ( [function] => getListSelect [path] => event_organizer [type] => select ) [format] => Array ( [function] => getListSelect [path] => event_format [type] => select ) [slider] => Array ( [function] => getEventsWithSlider [path] => to_main_slider ) [no_slider] => Array ( [function] => getEventsWithNoSlider [path] => to_main_slider ) [tag] => Array ( [function] => getEventsByTag ) [q] => Array ( [function] => getEventsByQuery ) [input_ids] => Array ( [function] => getEventsById ) [common_tags] => Array ( [function] => getEventsByCommonTags ) [years] => Array ( [function] => getEventsByYears ) [year] => Array ( [function] => getEventsByYears ) [month] => Array ( [function] => getEventsByPeriod [path] => month ) [coming_dates] => Array ( [function] => getEventsComingDates ) [area] => Array ( [function] => getEventsByArea [path] => research_area [type] => treeselect ) [subarea] => Array ( [function] => getEventsByArea [path] => research_area [type] => treeselect ) [begin] => Array ( [function] => getEventsByPeriod [path] => begin ) [end] => Array ( [function] => getEventsByPeriod [path] => end ) ) [conditionIds:protected] => Array ( [13200] => 13200 [12946] => 12946 [12942] => 12942 [12941] => 12941 [12938] => 12938 [12939] => 12939 [12947] => 12947 [13164] => 13164 [13165] => 13165 [13166] => 13166 [13170] => 13170 [13211] => 13211 [13187] => 13187 [13103] => 13103 [13102] => 13102 [13101] => 13101 [13100] => 13100 [12948] => 12948 [12985] => 12985 [12969] => 12969 [13014] => 13014 [12960] => 12960 [12986] => 12986 [12889] => 12889 [13063] => 13063 [12888] => 12888 [12216] => 12216 [12217] => 12217 [12225] => 12225 [12239] => 12239 [12295] => 12295 [12325] => 12325 [12681] => 12681 [12705] => 12705 [12940] => 12940 ) [reference_name:protected] => Array ( [direction] => Array ( [function] => getDirection [type_element] => treeselect ) [subdirection] => Array ( [function] => getSubDirection [type_element] => treeselect ) [type] => Array ( [function] => getReferenceFormTreeSelect [type] => select [path] => type_events [table] => reference [type_element] => checkbox ) [organizers] => Array ( [function] => getReferenceFormSelect [type] => select [path] => event_organizer [table] => reference [type_element] => select ) [format] => Array ( [function] => getReferenceFormSelect [type] => select [path] => event_format [table] => reference [type_element] => select ) [tag] => Array ( [function] => getTagByEvents ) [common_tags] => Array ( [function] => getReferenceFormTreeSelect [path] => common_tags [table] => reference [type_element] => select ) [month] => Array ( [function] => getMonthReference ) [year] => Array ( [function] => getYearReference ) ) [order:Events:private] => begin DESC [index_module:Events:private] => events_index [module:Events:private] => events [tag_path:Events:private] => tags [cat_research_areas:protected] => cats_research_areas [research_areas:protected] => research_areas [tag_name:Events:private] => tag [limit:Events:private] => 1000 ) [type] => -> [args] => Array ( [0] => Array ( [13200] => 13200 [12946] => 12946 [12942] => 12942 [12941] => 12941 [12938] => 12938 [12939] => 12939 [12947] => 12947 [13164] => 13164 [13165] => 13165 [13166] => 13166 [13170] => 13170 [13211] => 13211 [13187] => 13187 [13103] => 13103 [13102] => 13102 [13101] => 13101 [13100] => 13100 [12948] => 12948 [12985] => 12985 [12969] => 12969 [13014] => 13014 [12960] => 12960 [12986] => 12986 [12889] => 12889 [13063] => 13063 [12888] => 12888 [12216] => 12216 [12217] => 12217 [12225] => 12225 [12239] => 12239 [12295] => 12295 [12325] => 12325 [12681] => 12681 [12705] => 12705 [12940] => 12940 ) ) ) [3] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/controllers/Media/EventsController.php [line] => 150 [function] => getReferences [class] => Base [object] => Events Object ( [condition_name:protected] => Array ( [direction] => Array ( [function] => getEventsByDirection [path] => direction_event_tree [type] => treeselect ) [subdirection] => Array ( [function] => getEventsByDirection [path] => direction_event_tree [type] => treeselect ) [type] => Array ( [function] => getListSelect [path] => type_events [type] => select ) [organizers] => Array ( [function] => getListSelect [path] => event_organizer [type] => select ) [format] => Array ( [function] => getListSelect [path] => event_format [type] => select ) [slider] => Array ( [function] => getEventsWithSlider [path] => to_main_slider ) [no_slider] => Array ( [function] => getEventsWithNoSlider [path] => to_main_slider ) [tag] => Array ( [function] => getEventsByTag ) [q] => Array ( [function] => getEventsByQuery ) [input_ids] => Array ( [function] => getEventsById ) [common_tags] => Array ( [function] => getEventsByCommonTags ) [years] => Array ( [function] => getEventsByYears ) [year] => Array ( [function] => getEventsByYears ) [month] => Array ( [function] => getEventsByPeriod [path] => month ) [coming_dates] => Array ( [function] => getEventsComingDates ) [area] => Array ( [function] => getEventsByArea [path] => research_area [type] => treeselect ) [subarea] => Array ( [function] => getEventsByArea [path] => research_area [type] => treeselect ) [begin] => Array ( [function] => getEventsByPeriod [path] => begin ) [end] => Array ( [function] => getEventsByPeriod [path] => end ) ) [conditionIds:protected] => Array ( [13200] => 13200 [12946] => 12946 [12942] => 12942 [12941] => 12941 [12938] => 12938 [12939] => 12939 [12947] => 12947 [13164] => 13164 [13165] => 13165 [13166] => 13166 [13170] => 13170 [13211] => 13211 [13187] => 13187 [13103] => 13103 [13102] => 13102 [13101] => 13101 [13100] => 13100 [12948] => 12948 [12985] => 12985 [12969] => 12969 [13014] => 13014 [12960] => 12960 [12986] => 12986 [12889] => 12889 [13063] => 13063 [12888] => 12888 [12216] => 12216 [12217] => 12217 [12225] => 12225 [12239] => 12239 [12295] => 12295 [12325] => 12325 [12681] => 12681 [12705] => 12705 [12940] => 12940 ) [reference_name:protected] => Array ( [direction] => Array ( [function] => getDirection [type_element] => treeselect ) [subdirection] => Array ( [function] => getSubDirection [type_element] => treeselect ) [type] => Array ( [function] => getReferenceFormTreeSelect [type] => select [path] => type_events [table] => reference [type_element] => checkbox ) [organizers] => Array ( [function] => getReferenceFormSelect [type] => select [path] => event_organizer [table] => reference [type_element] => select ) [format] => Array ( [function] => getReferenceFormSelect [type] => select [path] => event_format [table] => reference [type_element] => select ) [tag] => Array ( [function] => getTagByEvents ) [common_tags] => Array ( [function] => getReferenceFormTreeSelect [path] => common_tags [table] => reference [type_element] => select ) [month] => Array ( [function] => getMonthReference ) [year] => Array ( [function] => getYearReference ) ) [order:Events:private] => begin DESC [index_module:Events:private] => events_index [module:Events:private] => events [tag_path:Events:private] => tags [cat_research_areas:protected] => cats_research_areas [research_areas:protected] => research_areas [tag_name:Events:private] => tag [limit:Events:private] => 1000 ) [type] => -> [args] => Array ( [0] => Array ( [error] => 1 [msg] => The variable has no rule [type] => id ) ) ) [4] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/controllers/Media/EventsController.php [line] => 66 [function] => index [class] => EventsController [object] => EventsController Object ( [rules:protected] => Array ( [action] => Array ( [type] => string ) [direction] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [subdirection] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [type] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [format] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [organizers] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [tag] => Array ( [type] => string ) [q] => Array ( [type] => string ) [p] => Array ( [type] => int [options] => Array ( [default] => 1 ) ) [begin] => Array ( [type] => date [options] => Array ( [format] => d.m.Y ) ) [end] => Array ( [type] => date [options] => Array ( [format] => d.m.Y ) ) [date] => Array ( [type] => date [options] => Array ( [format] => d.m.Y ) ) [year] => Array ( [type] => int ) [month] => Array ( [type] => string ) ) [limitSimilarEvents:EventsController:private] => 4 [period:EventsController:private] => 10 ) [type] => -> [args] => Array ( [0] => Array ( [id] => 39 [level] => 3 [left_key] => 11393 [right_key] => 12832 [parent] => 55 [name] => 活动 [name_ru] => Мероприятия [seo_title] => 活动 [seo_keywords] => 活动 [seo_description] => 活动 [site] => 1 [path] => events [visible] => 1 [num] => 20 [cdate] => 2017-02-10 14:57:16 [mdate] => 2026-09-16 14:28:16 [udate] => 2017-02-10 16:57:00 [cuser] => 1 [modul] => 0 [search] => 1 [menu] => 1 [link] => [sitemap] => 1 [target_blank] => 0 [info] => Array ( [id] => 77 [modul1] => tree [modul2] => events_index [id1] => 39 [id2] => 1 [cdate] => 2017-10-04 10:48:46 [name] => Медиа: Мероприятия: Главная страница [path] => events_index [type] => spage [num] => 910 [params] => [module_catalog] => 0 ) ) [1] => Array ( [error] => 1 [msg] => The variable has no rule [type] => id ) ) ) [5] => Array ( [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/onessarudnru/index.php [line] => 249 [function] => __construct [class] => EventsController [object] => EventsController Object ( [rules:protected] => Array ( [action] => Array ( [type] => string ) [direction] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [subdirection] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [type] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [format] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [organizers] => Array ( [type] => int [options] => Array ( [default] => 0 ) ) [tag] => Array ( [type] => string ) [q] => Array ( [type] => string ) [p] => Array ( [type] => int [options] => Array ( [default] => 1 ) ) [begin] => Array ( [type] => date [options] => Array ( [format] => d.m.Y ) ) [end] => Array ( [type] => date [options] => Array ( [format] => d.m.Y ) ) [date] => Array ( [type] => date [options] => Array ( [format] => d.m.Y ) ) [year] => Array ( [type] => int ) [month] => Array ( [type] => string ) ) [limitSimilarEvents:EventsController:private] => 4 [period:EventsController: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] => array_diff(): Argument #2 must be of type array, null given
    [string:Error:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/chinese/sites/cn.rudn.ru/public_html/models/Media/EventsModel.php
    [line:protected] => 862
    [trace:Error:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/models/Media/EventsModel.php
                    [line] => 862
                    [function] => array_diff
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => 61
                                    [1] => 501
                                    [2] => 501
                                    [3] => 61
                                    [4] => 1451
                                    [5] => 1322
                                    [6] => 1322
                                    [7] => 501
                                    [8] => 1451
                                    [9] => 501
                                    [10] => 501
                                    [11] => 61
                                    [12] => 501
                                    [13] => 61
                                    [14] => 1322
                                    [15] => 501
                                    [16] => 61
                                    [17] => 1451
                                    [18] => 501
                                    [19] => 1451
                                    [20] => 1322
                                    [21] => 501
                                    [22] => 61
                                    [23] => 1451
                                    [24] => 501
                                    [25] => 61
                                    [26] => 501
                                    [27] => 1322
                                    [28] => 1451
                                    [29] => 1451
                                    [30] => 1322
                                    [31] => 501
                                    [32] => 61
                                    [33] => 1451
                                    [34] => 501
                                    [35] => 61
                                    [36] => 501
                                    [37] => 61
                                    [38] => 501
                                    [39] => 1451
                                    [40] => 501
                                    [41] => 1441
                                    [42] => 501
                                    [43] => 501
                                    [44] => 1451
                                    [45] => 158
                                    [46] => 1451
                                    [47] => 501
                                    [48] => 1322
                                    [49] => 61
                                    [50] => 501
                                    [51] => 501
                                    [52] => 501
                                    [53] => 61
                                    [54] => 501
                                    [55] => 61
                                    [56] => 501
                                    [57] => 61
                                    [58] => 501
                                    [59] => 61
                                    [60] => 1441
                                    [61] => 1451
                                    [62] => 1451
                                    [63] => 501
                                    [64] => 501
                                    [65] => 501
                                    [66] => 501
                                )

                            [1] => 
                        )

                )

            [1] => Array
                (
                    [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/onessarudnru/class/BaseModel.php
                    [line] => 395
                    [function] => getDirection
                    [class] => Events
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [function] => getDirection
                                    [type_element] => treeselect
                                    [condition_value] => Array
                                        (
                                        )

                                    [ids] => Array
                                        (
                                            [13200] => 13200
                                            [12946] => 12946
                                            [12942] => 12942
                                            [12941] => 12941
                                            [12938] => 12938
                                            [12939] => 12939
                                            [12947] => 12947
                                            [13164] => 13164
                                            [13165] => 13165
                                            [13166] => 13166
                                            [13170] => 13170
                                            [13211] => 13211
                                            [13187] => 13187
                                            [13103] => 13103
                                            [13102] => 13102
                                            [13101] => 13101
                                            [13100] => 13100
                                            [12948] => 12948
                                            [12985] => 12985
                                            [12969] => 12969
                                            [13014] => 13014
                                            [12960] => 12960
                                            [12986] => 12986
                                            [12889] => 12889
                                            [13063] => 13063
                                            [12888] => 12888
                                            [12216] => 12216
                                            [12217] => 12217
                                            [12225] => 12225
                                            [12239] => 12239
                                            [12295] => 12295
                                            [12325] => 12325
                                            [12681] => 12681
                                            [12705] => 12705
                                            [12940] => 12940
                                        )

                                )

                        )

                )

            [2] => Array
                (
                    [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/onessarudnru/class/BaseModel.php
                    [line] => 320
                    [function] => getReferenceList
                    [class] => Base
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [13200] => 13200
                                    [12946] => 12946
                                    [12942] => 12942
                                    [12941] => 12941
                                    [12938] => 12938
                                    [12939] => 12939
                                    [12947] => 12947
                                    [13164] => 13164
                                    [13165] => 13165
                                    [13166] => 13166
                                    [13170] => 13170
                                    [13211] => 13211
                                    [13187] => 13187
                                    [13103] => 13103
                                    [13102] => 13102
                                    [13101] => 13101
                                    [13100] => 13100
                                    [12948] => 12948
                                    [12985] => 12985
                                    [12969] => 12969
                                    [13014] => 13014
                                    [12960] => 12960
                                    [12986] => 12986
                                    [12889] => 12889
                                    [13063] => 13063
                                    [12888] => 12888
                                    [12216] => 12216
                                    [12217] => 12217
                                    [12225] => 12225
                                    [12239] => 12239
                                    [12295] => 12295
                                    [12325] => 12325
                                    [12681] => 12681
                                    [12705] => 12705
                                    [12940] => 12940
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/controllers/Media/EventsController.php
                    [line] => 150
                    [function] => getReferences
                    [class] => Base
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [error] => 1
                                    [msg] => The variable has no rule
                                    [type] => id
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/controllers/Media/EventsController.php
                    [line] => 66
                    [function] => index
                    [class] => EventsController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 39
                                    [level] => 3
                                    [left_key] => 11393
                                    [right_key] => 12832
                                    [parent] => 55
                                    [name] => 活动
                                    [name_ru] => Мероприятия
                                    [seo_title] => 活动
                                    [seo_keywords] => 活动
                                    [seo_description] => 活动
                                    [site] => 1
                                    [path] => events
                                    [visible] => 1
                                    [num] => 20
                                    [cdate] => 2017-02-10 14:57:16
                                    [mdate] => 2026-09-16 14:28:16
                                    [udate] => 2017-02-10 16:57:00
                                    [cuser] => 1
                                    [modul] => 0
                                    [search] => 1
                                    [menu] => 1
                                    [link] => 
                                    [sitemap] => 1
                                    [target_blank] => 0
                                    [info] => Array
                                        (
                                            [id] => 77
                                            [modul1] => tree
                                            [modul2] => events_index
                                            [id1] => 39
                                            [id2] => 1
                                            [cdate] => 2017-10-04 10:48:46
                                            [name] => Медиа: Мероприятия: Главная страница
                                            [path] => events_index
                                            [type] => spage
                                            [num] => 910
                                            [params] => 
                                            [module_catalog] => 0
                                        )

                                )

                            [1] => Array
                                (
                                    [error] => 1
                                    [msg] => The variable has no rule
                                    [type] => id
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /var/www/chinese/sites/cn.rudn.ru/public_html/onessarudnru/index.php
                    [line] => 249
                    [function] => __construct
                    [class] => EventsController
                    [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
                )

        )

    [previous:Error:private] => 
)