Invalid query:
Error Number: 1064
Error Message: 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 '", sectionname = "news/"/assets/Generation") ORDER BY position LIMIT 0, 1' at line 3
Whole query: SELECT tbl_content.* FROM tbl_content WHERE active=1 AND IF (path <> "", CONCAT_WS("/", sectionname, path) = "news/"/assets/Generation", sectionname = "news/"/assets/Generation") ORDER BY position LIMIT 0, 1