Could not select GET_VAL: 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 ')' at line 1
SQL used: SELECT ID AS id, Alias AS alias, PostTitle_EN AS title FROM blog_posts WHERE Deleted=0 AND ShowOnSite=1 AND OrdNum = (SELECT MAX(OrdNum) FROM blog_posts WHERE Deleted=0 AND ShowOnSite=1 AND OrdNum < )