WordPress database error: [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 post_status = ‘publish' AND post_type = ‘task_list' ) AND p.post' at line 4]
I get that error on front end, why is that?
Also below that:
SELECT m.meta_value as completed FROM wp_posts p
LEFT JOIN wp_postmeta m ON p.ID = m.post_id
WHERE post_parent IN(
SELECT ID FROM wp_posts WHERE
I am sure after did a particular work you are getting this kind of error. Can you please share me what you were trying to do and after then getting this kind of error? Then it will be easy for me to find a way to resolve this issue.