Database Error (DB::Query): 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 'like '%الأسير%' or like '%الاسير%') UNION SELECT 'جث...' at line 11 SELECT 'أطفال' as m_title_field ,count(m_id) as number FROM martyrs where m_date >= '2023-01-01' AND m_date <= '2023-12-31' AND announced = 1 and (m_title like '%الطفل%') UNION SELECT 'نساء' as m_title_field ,count(m_id) as number FROM martyrs where m_date >= '2023-01-01' AND m_date <= '2023-12-31' AND announced = 1 and (m_sex like 'أنثى' and m_age > 17) UNION SELECT 'مسنين' as m_title_field ,count(m_id) as number FROM martyrs where m_date >= '2023-01-01' AND m_date <= '2023-12-31' AND announced = 1 and (m_age >= 60) UNION SELECT 'صحفيين' as m_title_field ,count(m_id) as number FROM martyrs where m_date >= '2023-01-01' AND m_date <= '2023-12-31' AND announced = 1 and (m_title like '%الصحفي%') UNION SELECT 'طواقم اسعاف' as m_title_field ,count(m_id) as number FROM martyrs where m_date >= '2023-01-01' AND m_date <= '2023-12-31' AND announced = 1 and (m_title like '%مسعف%') UNION SELECT 'أسرى' as m_title_field ,count(m_id) as number FROM martyrs where m_date >= '2023-01-01' AND m_date <= '2023-12-31' AND announced = 1 and ( like '%الأسير%' or like '%الاسير%') UNION SELECT 'جثامين محتجزة' as m_title_field ,count(m_id) as number FROM martyrs where m_date >= '2023-01-01' AND m_date <= '2023-12-31' AND announced = 1 and (m_flags like '%جثامين محتجزة%' or m_body like 'محتجز لدى الاحتلال') and (m_held_until is NULL or m_held_until = '') UNION SELECT 'جميع الفئات' as m_title_field ,count(m_id) as number FROM martyrs where m_date >= '2023-01-01' AND m_date <= '2023-12-31' AND announced = 1