Im having the same problem with version 8.1.9.
Almost the same database error near ‘)))
[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 ‘))) AND wp_posts.post_type = ‘post’ AND (wp_posts.post_status = ‘publish’ OR wp’ at line 3]
No problems with version 8.1.6 so ive downgraded to that version for the time being.