WPIntell

Source evidence

SQL Error

Zaki Like Dislike Comments · support · 2014-05-09T17:10:00+00:00

complaintsentiment
mediumseverity
0.86relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 31 rows with source links

19.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

25 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
thethunderbird99 unresolved
Getting this SQL error over and over again in my error logs: 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 1 for query SELECT * FROM wp_zaki_like_dislike_comments WHERE comment_id = /* From [swimswam.com/wp-comments-post.php] in [/nas/wp/www/cluster-2022/swimswam/wp-content/plugins/zaki-like-dislike-comments/classes/class-zaki-like-dislike.php:42] */ made by wp_new_comment, wp_allow_comment, check_comment, apply_filters(‘comment_text’), call_user_func_array, ZakiLikeDislike_AddPluginHml, ZakiLikeDislike::getLikeDislikeHtml, ZakiLikeDislike::getLikeBtn, ZakiLikeDislike::getLikeCountHtml, ZakiLikeDislike::getLikeCount, referer: http://swimswam.com/nli-photos-4-gpac-swimmers-sign-national-letter-intent-past-week/ https://wordpress.org/plugins/zaki-like-dislike-comments/ Bueller? Seems that you are putting the ZakiLikeDislike function outside the loop. The error occur because get_comment_ID() function return null. I’ll add a control in next release, until that, can you verify that $post is correctly defined where you put the code?

Comments

2 shown
thethunderbird99 2014-05-27T07:29:00+00:00

Bueller?

Riccardo Conte 2014-05-27T07:42:00+00:00

Seems that you are putting the ZakiLikeDislike function outside the loop. The error occur because get_comment_ID() function return null. I’ll add a control in next release, until that, can you verify that $post is correctly defined where you put the code?