You have an error in your SQL syntax
-
Hello, on debug mode there’s an error:
WordPress database error: [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 ‘ORDER BY score DESC, post_modified DESC LIMIT 1’ at line 4]
SELECT p.ID, if(INSTR(LCASE(p.post_name), ‘windows’), 1, 0) + 0 as score FROM erd_posts AS p WHERE p.post_status = ‘publish’ AND ORDER BY score DESC, post_modified DESC LIMIT 1
When I’m trying to test https://myblog.com/windows
How to fix it?
Thankyou
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘You have an error in your SQL syntax’ is closed to new replies.