SQL syntax error when displaying comments
-
Hi,
I have the following error just above comments on the article pages, it seems that the sql statement is badly formed, how can I correct this:
WordPress database error: [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 (13923) ORDER BY comment_date_gmt ASC, comment_ID ‘ at line 1]
SELECT rkq_comments.comment_ID, rkq_comments.comment_parent WHERE AND comment_parent IN (13923) ORDER BY comment_date_gmt ASC, comment_ID ASCIt doesn’t always appear.
Thanks
Cyrille
The blog I need help with is: (visible only to logged in users)
-
That’s a wordpress.ORG software install error. dba-scripts.com is hosted by SiteGround, not wordpress.com.
We provide support only for wordpress.COM hosted sites. Our support docs do not apply to
(1) local installs of wordpress.ORG software on your own server or
(2) wordpress.ORG software installs on paid hosting, and we do not provide support for them at wordpress.COM.Also, note that we do not provide Jetpack support https://jetpack.com/support/ for sites linked to wordpress.COM accounts with the Jetpack plugin so they display on the My Sites wordpress.com account page.
Some Jetpack solutions are here http://jetpack.com/support/
Others are in the Jetpack support forum at WordPress.org
http://wordpress.org/support/plugin/jetpackHowever, if help cannot be found at either one then they can file a Jetpack support ticket here > http://en.support.wordpress.com/contact/?jetpack=needs-service
WordPress.COM and WordPress.ORG are completely separate and have different username accounts, logins, features, run different versions of some themes with the same names, and have separate support documentation and separate support forums. Read the differences here http://en.support.wordpress.com/com-vs-org/
As you are referring to a site that is not hosted here, if you don’t have a username account at WordPress.ORG account, then click http://wordpress.org/support/ and register one on the top right-hand corner of the page that opens, https://wordpress.org/support/register.php so you can post to the support forums there.
Resetting your WordPress.ORG password http://codex.wordpress.org/Resetting_Your_Password
WordPress.org support docs are at https://codex.wordpress.org/Main_Page
See also https://apps.wordpress.org/support/
- The topic ‘SQL syntax error when displaying comments’ is closed to new replies.