-
Hello,
I started to see below error in my error log.
Any suggestion
RankMath\\Sitemap\\Router->request_sitemap,require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, WP_Query->parse_query, do_action_ref_array('parse_query'), WP_Hook->do_action, WP_Hook->apply_filters, RankMath\\Sitemap\\Router->request_sitemap, RankMath\\Sitemap\\Sitemap_XML->__construct, RankMath\\Sitemap\\Sitemap_XML->output, RankMath\\Sitemap\\Sitemap_XML->has_sitemap_in_cache, RankMath\\Sitemap\\Sitemap_XML->build_sitemap, RankMath\\Sitemap\\Generator->get_output, RankMath\\Sitemap\\Generator->build_sitemap, RankMath\\Sitemap\\Providers\\Author->get_sitemap_links, RankMath\\Sitemap\\Providers\\Author->get_users, get_users, WP_User_Query->__construct, WP_User_Query->query taraf\xc4\xb1ndan olu\xc5\x9fturulan SELECT DISTINCT wp_users.* FROM wp_users LEFT JOIN wp_usermeta ON ( wp_users.ID = wp_usermeta.user_id ) LEFT JOIN wp_usermeta AS mt1 ON (wp_users.ID = mt1.user_id AND mt1.meta_key = 'last_update' ) LEFT JOIN wp_usermeta AS mt2 ON ( wp_users.ID = mt2.user_id ) LEFT JOIN wp_usermeta AS mt3 ON (wp_users.ID = mt3.user_id AND mt3.meta_key = 'rank_math_robots' ) LEFT JOIN wp_usermeta AS mt4 ON ( wp_users.ID = mt4.user_id ) WHERE 1=1 AND wp_users.ID IN ( SELECT DISTINCT wp_posts.post_author FROM wp_posts WHERE wp_posts.post_status = 'publish' AND wp_posts.post_type IN ( 'post', 'page', 'product' ) ) AND ( \n ( \n ( \n ( \n wp_usermeta.meta_key = 'last_update' \n OR \n mt1.user_id IS NULL\n ) \n AND \n ( \n ( mt2.meta_key = 'rank_math_robots' AND mt2.meta_value NOT LIKE '%noindex%' ) \n OR \n mt3.user_id IS NULL\n )\n ) \n AND \n ( \n ( \n ( mt4.meta_key = 'wp_capabilities' AND mt4.meta_value NOT LIKE '%\\"Contributor\\"%' ) \n AND \n ( mt4.meta_key = 'wp_capabilities' AND mt4.meta_value NOT LIKE '%\\"Subscriber\\"%' ) \n AND \n ( mt4.meta_key = 'wp_capabilities' AND mt4.meta_value NOT LIKE '%\\"Customer\\"%' ) \n AND \n ( mt4.meta_key = 'wp_capabilities' AND mt4.meta_value NOT LIKE '%\\"Shop manager\\"%' ) \n AND \n ( mt4.meta_key = 'wp_capabilities' AND mt4.meta_value NOT LIKE '%\\"Translator\\"%' ) \n AND \n ( mt4.meta_key = 'wp_capabilities' AND mt4.meta_value NOT LIKE '%\\"SEO Manager\\"%' ) \n AND \n ( mt4.meta_key = 'wp_capabilities' AND mt4.meta_value NOT LIKE '%\\"SEO Editor\\"%' ) \n AND \n ( mt4.meta_key = 'wp_capabilities' AND mt4.meta_value NOT LIKE '%\\"Web Tasar\xc4\xb1mc\xc4\xb1\\"%' )\n )\n )\n )\n) ORDER BY wp_usermeta.meta_value+0 DESC LIMIT -500, 500 sorgusu i\xc3\xa7in WordPress veritaban\xc4\xb1 hatas\xc4\xb1 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 '-500, 500' at line 37
The ticket ‘php error’ is closed to new replies.