WP Database error (SQL Syntax)
-
Dear support,
i will update old post and public post notice error and i check error log :
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 ‘%’)
OR (nblsp63_posts.post_content LIKE ‘%dieng’%’)
‘ at line 3 for query SELECT SQL_CALC_FOUND_ROWS nblsp63_posts.ID FROM nblsp63_posts WHERE 1=1
AND (
(nblsp63_posts.post_title LIKE ‘%dieng’%’)
OR (nblsp63_posts.post_content LIKE ‘%dieng’%’)
OR EXISTS (
SELECT * FROM nblsp63_postmeta
WHERE post_id = nblsp63_posts.ID
AND (meta_key = ‘gdlr-core-page-builder’ AND meta_value LIKE ‘%dieng’%’)
)
)
AND nblsp63_posts.post_type = ‘post’ AND (nblsp63_posts.post_status = ‘publish’ OR nblsp63_posts.post_status = ‘future’ OR nblsp63_posts.post_status = ‘draft’ OR nblsp63_posts.post_status = ‘pending’ OR nblsp63_posts.post_status = ‘private’) ORDER BY nblsp63_posts.post_title LIKE ‘%dieng%’ DESC, nblsp63_posts.post_date DESC LIMIT 0, 20 made by WP_Posts_List_Table->prepare_items, wp_edit_posts_query, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_poststhanks
The topic ‘WP Database error (SQL Syntax)’ is closed to new replies.