Comments cannot be posted when the plugin is enabled
-
Comments cannot be posted with the plugin enabled (as was mentioned a year ago).
The problem is caused because the filter added in adsense-plugin.php does not return the content passed to it. Since the content is the comment_post_id, no comments can be posted.
From here:
add_filter( ‘comment_id_fields’, array( $adsns_plugin, ‘adsns_end_comment_ad’ ) ); /* Adding ad after comment form */adsense-plugin.class.php – Line 29
Function should accept and return content as shown below instead of being void / returning nothing./* Show ads after comment form */ function adsns_end_comment_ad($content) { ... return $content; }
Old thread:
https://www.ads-software.com/support/topic/users-can-not-write-a-comment-when-plugin-enable?replies=4Hope this helps resolve this issue.
- The topic ‘Comments cannot be posted when the plugin is enabled’ is closed to new replies.