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 'Where id = '47' And is_active = '1' And FIND_IN_SET( is_agenda, '1,3' ) And date' at line 1 - query: Select t1.* From gf_news As t1 Where id = '47' Limit 1 Where id = '47' And is_active = '1' And FIND_IN_SET( is_agenda, '1,3' ) And date_start < '2024-11-07 15:34:37' Order By date_start DESC Limit 1The query failed.
SQL: Select t1.* From gf_news As t1 Where id = '47' Limit 1 Where id = '47' And is_active = '1' And FIND_IN_SET( is_agenda, '1,3' ) And date_start < '2024-11-07 15:34:37' Order By date_start DESC Limit 1