• Resolved denisgomesfranco

    (@denisgomesfranco)


    Hello,

    This is a really nice theme, thanks for your work! I’ve set it up successfully on my blog.

    But I noticed something in my logs:

    [13-Jan-2016 13:06:12 UTC] Erro de banco de dados do WordPress 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 ‘WHERE AND comment_parent IN (6572,6851) ORDER BY comment_date_gmt ASC, comment’ at line 1 para a consulta WHERE AND comment_parent IN (6572,6851) ORDER BY comment_date_gmt ASC, comment_ID ASC feita por require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/toivo-lite/single.php’), comments_template, WP_Comment_Query->__construct, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->fill_descendants

    I understand the theme might not be fully compatible with WordPress 4.4.1, so, any tips on this?

    It doesn’t seem to affect the site at all, it’s just something I noticed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Sami Keijonen

    (@samikeijonen)

    Hmmm themes doesn’t do any MySQL queries. Can you test do you see this error when using default theme Twenty Sixteen?

    Thread Starter denisgomesfranco

    (@denisgomesfranco)

    Yeah I know, it’s probably coming from somewhere else.

    …and now it gets weird. Tested with Twenty Sixteen, the error is gone. Reverting back to Toivo Lite, the error won’t come back, site is all normal.

    Reeeealy weird…

    Thread Starter denisgomesfranco

    (@denisgomesfranco)

    And I guess I shall mark this as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘SQL errors in single.php’ is closed to new replies.