{"id":11686680,"date":"2019-06-30T18:27:33","date_gmt":"2019-06-30T18:27:33","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/comment-section-is-broken-2\/"},"modified":"2019-06-30T18:27:33","modified_gmt":"2019-06-30T18:27:33","slug":"comment-section-is-broken-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/comment-section-is-broken-2\/","title":{"rendered":"Comment Section Is Broken"},"content":{"rendered":"<p>Any ideas on how to fix this?<\/p>\n<p>I recently &#8220;upgraded&#8221; to the latest WordPress.  It was a step by step (one WP version at a time) manual upgrade from 4.7 to 5.1.  The comment section no longer works properly.<\/p>\n<p>I have upgraded automatically to the latest, and it did not fix the problem.<\/p>\n<p>If you comment, there are errors.  The comment sticks, but the counter does not change and after submission of the comment, the posted sees this error message:<\/p>\n<p>Warning: mysql_real_escape_string(): Access denied for user &#8221;@&#8217;localhost&#8217; (using password: NO) in \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php on line 93<\/p>\n<p>Warning: mysql_real_escape_string(): A link to the server could not be established in \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php on line 93<br \/>\nFailed to query blacklist: ip &#8211; 47.137.192.152. Query: SELECT * FROM <code>sk2_blacklist<\/code> WHERE (<code>value<\/code> = &#8221; AND (<code>type<\/code> = &#8216;ip_black&#8217; OR <code>type<\/code> = &#8216;ip_white&#8217;)) AND <code>score<\/code> &gt; 30 ORDER BY <code>score<\/code> DESC<br \/>\nSQL error: Access denied for user &#8221;@&#8217;localhost&#8217; (using password: NO)<\/p>\n<p>Warning: mysql_real_escape_string(): Access denied for user &#8221;@&#8217;localhost&#8217; (using password: NO) in \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php on line 93<\/p>\n<p>Warning: mysql_real_escape_string(): A link to the server could not be established in \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php on line 93<br \/>\nFailed to query blacklist: regex_content_match &#8211; Testing Comments.. Query: SELECT * FROM <code>sk2_blacklist<\/code> WHERE <code>id<\/code> IN(-1) AND <code>score<\/code> &gt; 30 ORDER BY <code>score<\/code> DESC<br \/>\nSQL error: Access denied for user &#8221;@&#8217;localhost&#8217; (using password: NO)<\/p>\n<p>Warning: mysql_real_escape_string(): Access denied for user &#8221;@&#8217;localhost&#8217; (using password: NO) in \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php on line 93<\/p>\n<p>Warning: mysql_real_escape_string(): A link to the server could not be established in \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php on line 93<\/p>\n<p>Warning: mysql_real_escape_string(): Access denied for user &#8221;@&#8217;localhost&#8217; (using password: NO) in \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php on line 93<\/p>\n<p>Warning: mysql_real_escape_string(): A link to the server could not be established in \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php on line 93<br \/>\nFailed to insert blacklist entry: ip_white &#8211; 47.137.192.152.<br \/>\nSQL error: Access denied for user &#8221;@&#8217;localhost&#8217; (using password: NO)<br \/>\nError: cannot update comment entry ID: 198760 to status: approved.<br \/>\nSQL error: Access denied for user &#8221;@&#8217;localhost&#8217; (using password: NO)<\/p>\n<p>Warning: mysql_real_escape_string(): Access denied for user &#8221;@&#8217;localhost&#8217; (using password: NO) in \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php on line 93<\/p>\n<p>Warning: mysql_real_escape_string(): A link to the server could not be established in \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php on line 93<\/p>\n<p>Warning: mysql_real_escape_string(): Access denied for user &#8221;@&#8217;localhost&#8217; (using password: NO) in \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php on line 93<\/p>\n<p>Warning: mysql_real_escape_string(): A link to the server could not be established in \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php on line 93<\/p>\n<p>Warning: mysql_real_escape_string(): Access denied for user &#8221;@&#8217;localhost&#8217; (using password: NO) in \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php on line 93<\/p>\n<p>Warning: mysql_real_escape_string(): A link to the server could not be established in \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php on line 93<br \/>\nFailed inserting\/updating sk2_kSpamTable record for comment ID:198760 (mode: overwrite).<br \/>\nQuery: INSERT INTO <code>yhgmsafl7_sk2_spams<\/code> SET <code>karma<\/code> = 87.75,<code>karma_cmts<\/code> = &#8221;, <code>unlock_keys<\/code> = &#8221;, <code>remaining_attempts<\/code> = &#8221;, <code>last_mod<\/code> = NOW(), <code>comment_ID<\/code> = 198760<br \/>\nSQL error: Access denied for user &#8221;@&#8217;localhost&#8217; (using password: NO)<\/p>\n<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php:93) in \/home\/MYDIRECTORY\/public_html\/wp-includes\/comment.php on line 548<\/p>\n<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php:93) in \/home\/MYDIRECTORY\/public_html\/wp-includes\/comment.php on line 549<\/p>\n<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php:93) in \/home\/MYDIRECTORY\/public_html\/wp-includes\/comment.php on line 550<\/p>\n<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php:93) in \/home\/MYDIRECTORY\/public_html\/wp-includes\/pluggable.php on line 1251<\/p>\n<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at \/home\/MYDIRECTORY\/public_html\/wp-content\/plugins\/SK2\/sk2_functions.php:93) in \/home\/MYDIRECTORY\/public_html\/wp-includes\/pluggable.php on line 1254<\/p>\n","protected":false},"template":"","class_list":["post-11686680","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11686680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11686680\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11686680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}