Failed to prepare query!
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 '%s OR ft.content LIKE %s AND ft.status = ?' at line 2
Query: SELECT COUNT(ft.topic_id) AS total_topics FROM forum_topics AS ft WHERE ft.title LIKE %s OR ft.content LIKE %s AND ft.status = '%dogporn%'