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 'FROM wp_lanna_posts
WHERE 1=1 AND ((wp_lanna_posts.post_type = 'post'...' at line 2]SELECT SQL_CALC_FOUND_ROWS all
FROM wp_lanna_posts
WHERE 1=1 AND ((wp_lanna_posts.post_type = 'post' AND (wp_lanna_posts.post_status = 'publish')))
ORDER BY wp_lanna_posts.post_date DESC
LIMIT 0, 10
[wpdataaccess pub_id=”31″]