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/onetouch/sites/eng.rudn.ru/public_html/models/Media/EventsModel.php [line] => 872 [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/onetouch/sites/eng.rudn.ru/public_html/onessarudnru/class/BaseModel.php [line] => 394 [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 ( [0] => 1499 [1] => 5935 [2] => 1539 [3] => 1879 [4] => 1887 [5] => 2432 [6] => 5772 [7] => 5794 [8] => 5791 [9] => 9124 ) [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 ( [0] => 158 ) [ids] => Array ( [0] => 1499 [1] => 5935 [2] => 1539 [3] => 1879 [4] => 1887 [5] => 2432 [6] => 5772 [7] => 5794 [8] => 5791 [9] => 9124 ) ) ) ) [2] => Array ( [file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/onessarudnru/class/BaseModel.php [line] => 318 [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 ( [0] => 1499 [1] => 5935 [2] => 1539 [3] => 1879 [4] => 1887 [5] => 2432 [6] => 5772 [7] => 5794 [8] => 5791 [9] => 9124 ) [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 ( [0] => 1499 [1] => 5935 [2] => 1539 [3] => 1879 [4] => 1887 [5] => 2432 [6] => 5772 [7] => 5794 [8] => 5791 [9] => 9124 ) [1] => Array ( [direction] => 158 ) ) ) [3] => Array ( [file] => /var/www/onetouch/sites/eng.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 ( [0] => 1499 [1] => 5935 [2] => 1539 [3] => 1879 [4] => 1887 [5] => 2432 [6] => 5772 [7] => 5794 [8] => 5791 [9] => 9124 ) [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 ( [direction] => 158 ) ) ) [4] => Array ( [file] => /var/www/onetouch/sites/eng.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] => 13453 [right_key] => 16062 [parent] => 55 [name] => Events and Invitations [seo_title] => Events and Invitations [seo_keywords] => Events and Invitations [seo_description] => Events and Invitations [site] => 1 [path] => events [visible] => 1 [num] => 20 [cdate] => 2017-02-10 14:57:16 [mdate] => 2026-09-21 12:59:07 [udate] => 2017-02-10 16:57:00 [cuser] => 0 [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 ( [direction] => 158 [month] => 04 [year] => 2018 ) ) ) [5] => Array ( [file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/onessarudnru/index.php [line] => 230 [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/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 ) )
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/onetouch/sites/eng.rudn.ru/public_html/models/Media/EventsModel.php
    [line:protected] => 872
    [trace:Error:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/models/Media/EventsModel.php
                    [line] => 872
                    [function] => array_diff
                )

            [1] => Array
                (
                    [file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/onessarudnru/class/BaseModel.php
                    [line] => 394
                    [function] => getDirection
                    [class] => Events
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/onessarudnru/class/BaseModel.php
                    [line] => 318
                    [function] => getReferenceList
                    [class] => Base
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/controllers/Media/EventsController.php
                    [line] => 150
                    [function] => getReferences
                    [class] => Base
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => /var/www/onetouch/sites/eng.rudn.ru/public_html/controllers/Media/EventsController.php
                    [line] => 66
                    [function] => index
                    [class] => EventsController
                    [type] => ->
                )

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

            [6] => 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] => 
)