DB WordPress return Error
-
Your plug-in works. But log:
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 ‘-20, 20
) AS t2
ON t1.post_title = t2.post_title
WHERE (t1.post_type ‘ at line 4 в ответ на запрос SELECT t1.* FROM wpdb_posts AS t1 INNER JOIN (
SELECT post_title FROM wpdb_posts
WHERE (wpdb_posts.post_type = ‘post’ OR wpdb_posts.post_type = ‘page’ OR wpdb_posts.post_type = ‘attachment’) AND wpdb_posts.post_status =’publish’
GROUP BY post_title HAVING COUNT(*)>1 LIMIT -20, 20
) AS t2
ON t1.post_title = t2.post_title
WHERE (t1.post_type = ‘post’ OR t1.post_type = ‘page’ OR t1.post_type = ‘attachment’) AND t1.post_status =’publish’
ORDER BY t1.post_title, t1.post_date DESC, выполненный do_action(‘toplevel_page_fix_duplicates’), call_user_func_array, fix_duplicates_admin_main
- The topic ‘DB WordPress return Error’ is closed to new replies.