DB function failed with error number 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 'nWHERE cn.catid = '14' and cn.published = '1' and UNIX_TIMESTAMP(cn.publishdate' at line 1 SQL=SELECT cn.contents FROM maincontent AS cn nWHERE cn.catid = '14' and cn.published = '1' and UNIX_TIMESTAMP(cn.publishdate) <= UNIX_TIMESTAMP('2023-06-07 22:15:04')nOrder by cn.ordering DESC LIMIT 0, 1
DB function failed with error number 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 'nWHERE cn.catid = '14' and cn.published = '1' and UNIX_TIMESTAMP(cn.publishdate' at line 1 SQL=SELECT cn.contents FROM maincontent AS cn nWHERE cn.catid = '14' and cn.published = '1' and UNIX_TIMESTAMP(cn.publishdate) <= UNIX_TIMESTAMP('2023-06-07 22:15:04')nOrder by cn.ordering DESC LIMIT 0, 1