mySQL error with query SELECT i.inumber as itemid, i.ititle as title, i.ibody as body, m.mname as author, m.mrealname as authorname, UNIX_TIMESTAMP(i.itime) as timestamp, i.itime, i.imore as more, m.mnumber as authorid, c.cname as category, i.icat as catid, i.iclosed as closed FROM nucleus_member as m, nucleus_category as c, nucleus_item as i LEFT JOIN nucleus_plug_multiple_categories as p ON i.inumber = p.item_id WHERE i.iauthor = m.mnumber AND i.icat = c.catid AND i.idraft = 0 AND i.iblog = 3 AND i.iblog = 3 AND i.itime <= "2026-09-11 04:07:58" AND ((i.inumber = p.item_id AND (p.categories REGEXP "(^|,)3(,|$)" OR i.icat = 3)) OR (i.icat = 3 AND p.item_id IS NULL)) AND p.subcategories REGEXP "(^|,)6(,|$)" AND i.itime <= "2026-09-11 04:07:58" ORDER BY i.itime ASC LIMIT -18, 1: 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 '-18, 1' at line 1
mySQL error with query SELECT i.inumber as itemid, i.ititle as title, i.ibody as body, m.mname as author, m.mrealname as authorname, UNIX_TIMESTAMP(i.itime) as timestamp, i.itime, i.imore as more, m.mnumber as authorid, c.cname as category, i.icat as catid, i.iclosed as closed FROM nucleus_member as m, nucleus_category as c, nucleus_item as i LEFT JOIN nucleus_plug_multiple_categories as p ON i.inumber = p.item_id WHERE i.iauthor = m.mnumber AND i.icat = c.catid AND i.idraft = 0 AND i.iblog = 3 AND i.iblog = 3 AND i.itime <= "2026-09-11 04:07:58" AND ((i.inumber = p.item_id AND (p.categories REGEXP "(^|,)3(,|$)" OR i.icat = 3)) OR (i.icat = 3 AND p.item_id IS NULL)) AND p.subcategories REGEXP "(^|,)6(,|$)" AND i.itime <= "2026-09-11 04:07:58" ORDER BY i.itime ASC LIMIT -17, 1: 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 '-17, 1' at line 1
mySQL error with query SELECT i.inumber as itemid, i.ititle as title, i.ibody as body, m.mname as author, m.mrealname as authorname, UNIX_TIMESTAMP(i.itime) as timestamp, i.itime, i.imore as more, m.mnumber as authorid, c.cname as category, i.icat as catid, i.iclosed as closed FROM nucleus_member as m, nucleus_category as c, nucleus_item as i LEFT JOIN nucleus_plug_multiple_categories as p ON i.inumber = p.item_id WHERE i.iauthor = m.mnumber AND i.icat = c.catid AND i.idraft = 0 AND i.iblog = 3 AND i.iblog = 3 AND i.itime <= "2026-09-11 04:07:58" AND ((i.inumber = p.item_id AND (p.categories REGEXP "(^|,)3(,|$)" OR i.icat = 3)) OR (i.icat = 3 AND p.item_id IS NULL)) AND p.subcategories REGEXP "(^|,)6(,|$)" AND i.itime <= "2026-09-11 04:07:58" ORDER BY i.itime ASC LIMIT -17, 1: 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 '-17, 1' at line 1
mySQL error with query SELECT i.inumber as itemid, i.ititle as title, i.ibody as body, m.mname as author, m.mrealname as authorname, UNIX_TIMESTAMP(i.itime) as timestamp, i.itime, i.imore as more, m.mnumber as authorid, c.cname as category, i.icat as catid, i.iclosed as closed FROM nucleus_member as m, nucleus_category as c, nucleus_item as i LEFT JOIN nucleus_plug_multiple_categories as p ON i.inumber = p.item_id WHERE i.iauthor = m.mnumber AND i.icat = c.catid AND i.idraft = 0 AND i.iblog = 3 AND i.iblog = 3 AND i.itime <= "2026-09-11 04:07:58" AND ((i.inumber = p.item_id AND (p.categories REGEXP "(^|,)3(,|$)" OR i.icat = 3)) OR (i.icat = 3 AND p.item_id IS NULL)) AND p.subcategories REGEXP "(^|,)6(,|$)" AND i.itime <= "2026-09-11 04:07:58" ORDER BY i.itime ASC LIMIT -16,48: 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 '-16,48' at line 1