Array
(
    [description] => SELECT e.event_id, e.category_id, e.system, c._sort_caption_ua As category_title, c.system As category_system, e.title_ua As title, e.small_image, e.full_description_ua As full_description, e.contacts_ua As contacts, e.url, e.email, e.date_start, e.date_end, e.enable_comments, CheckEvent(	'2024-12-23 00:00:00',
							'2024-12-31 00:00:00',
							e.date_start,
							e.date_end,
							e.repeat_event,
							e.repeat_every_count,
							e.repeat_every_term,
							e.repeat_end,
							e.repeat_end_iterations,
							e.repeat_end_day,
							1) AS near_date_start FROM cms_calendar_events AS e JOIN cms_publications_tree As c ON (e.category_id=c.publication_id) WHERE
	     				e.active=c.active_ua=1
	     				AND e.event_id=164
    [time] => 0.0011591911315918
    [error] => FUNCTION sae_db.CheckEvent does not exist
)