Support » Plugin: XML Sitemaps » Query notice

  • trisca



    In apache log has appeared this query, is there any problem with the plugin? Could it be possible someone is trying to hack my website? Could it be possible we have to configure anything else?


    [Tue May 31 21:04:14.076464 2022] [php7:notice] [pid 22646] [client] Error Unknown column ‘post’ in ‘where clause’ de la base de datos de WordPress para la consulta SELECT\n\t\t\t\t\t\t\t\t\tCOUNT(*)\n\t\t\t\t\t\t\t\tFROM\n\t\t\t\t\t\t\t\t\twp_posts p\n\t\t\t\t\t\t\t\tWHERE\n\t\t\t\t\t\t\t\t\tp.post_password = ”\n\t\t\t\t\t\t\t\t\tAND p.post_type = post\n\t\t\t\t\t\t\t\t\tAND p.post_status = ‘publish’\n\t\t\t\t\t\t\t\t\tAND p.ID NOT IN (2) realizada por require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, GoogleSitemapGeneratorLoader::do_template_redirect, GoogleSitemapGeneratorLoader::call_show_sitemap, GoogleSitemapGenerator->show_sitemap, do_action(‘sm_build_content’), WP_Hook->do_action, WP_Hook->apply_filters, GoogleSitemapGeneratorStandardBuilder->content, GoogleSitemapGeneratorStandardBuilder->build_posts

Viewing 2 replies - 1 through 2 (of 2 total)
  • No, this is not anyone trying to hack your site. The SQL query has a syntax error at p.post_type = post as the value ‘post’ is not enclosed in quotes.

    It seems it is also having other php issues, or maybe this is related but the xml file will not open in chrome and in firefox it gives this error:

    “XML Parsing Error: no root element found”

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.