Quantcast
Channel: Topic Tag: Database Error | WordPress.org
Viewing all articles
Browse latest Browse all 631

karmamack on "Database error in SQL syntax"

$
0
0

Hello, I have an error in my WP database and I have no idea what this means - or how to repair it. Just hoping someone is able to please help, in language that I can understand :-)
This was happening on WP 8.3 - I have upgraded to 3.9.1 and still the same.
Here is the error message - the error file is massive:

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 '' at line 9 for query SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_author_email, comment_date_gmt, comment_approved, comment_type,comment_author_url,

				SUBSTRING(comment_content,1,45) AS com_excerpt

				FROM Nomd45_comments

				LEFT OUTER JOIN Nomd45_posts ON (Nomd45_comments.comment_post_ID =

				Nomd45_posts.ID)

				WHERE comment_approved = '1' AND comment_type = '' AND

				post_password = ''

				ORDER BY comment_date_gmt DESC

				LIMIT  made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/maxmag/single.php'), get_sidebar, locate_template, load_template, require_once('/themes/maxmag/sidebar.php'), dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, maxmag_tabs_widget->widget

Viewing all articles
Browse latest Browse all 631

Trending Articles