[description] => SELECT count(*) AS itemsCount FROM (SELECT
            event_name, event_type,
            event_publish, event_register_allowed,
            UNIX_TIMESTAMP(event_date_start) AS event_date_start,
            UNIX_TIMESTAMP(event_date_end) AS event_date_end,
            event_region_id, event_city
            FROM events
            WHERE 1=1
             AND (event_city='. ')  AND (event_publish!=1 AND event_region_id=)  AND (event_date_end >= CURDATE() AND event_date_start <= DATE_ADD(CURDATE(), INTERVAL 1 MONTH)) 
        ) AS res
    [time] => 0.00012087821960449
    [error] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')  AND (event_date_end >= CURDATE() AND event_date_start <= DATE