{"id":3875269,"date":"2013-06-25T19:59:28","date_gmt":"2013-06-25T19:59:28","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/jetpack-errors-2\/"},"modified":"2016-08-21T02:19:58","modified_gmt":"2016-08-21T02:19:58","slug":"jetpack-errors-2","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/jetpack-errors-2\/","title":{"rendered":"Jetpack errors"},"content":{"rendered":"<p>Hello, if you activate version 2.3, will damage the RSS feed. The error message is:<\/p>\n<blockquote>\n<p>WARNING: wp-admin\/admin-header.php:9 &#8211; Cannot modify header information &#8211; headers already sent by (output started at \/var\/www\/wordpress\/wp-content\/plugins\/jetpack\/modules\/omnisearch\/omnisearch-comments.php:6)<\/p>\n<\/blockquote>\n<p><strong>The solution is simple<\/strong>:<br \/>\n1. In file &#8220;omnisearch-comments.php, line 44<br \/>\n<code>function pagination() { }<\/code><br \/>\nreplace for<br \/>\n<code>function pagination( $which ) { }<\/code><\/p>\n<p>2. In the same file, line 32<\/p>\n<pre><code>function get_per_page( $comment_status ) {\n\t\treturn apply_filters( &#039;omnisearch_num_results&#039;, 5 );\n }<\/code><\/pre>\n<p>replace for<\/p>\n<pre><code>function get_per_page( $comment_status = &#039;all&#039; ) {\n\t\treturn apply_filters( &#039;omnisearch_num_results&#039;, 5 );\n }<\/code><\/pre>\n<p>3. In the same file, line 48<br \/>\n<code>function extra_tablenav() {}<\/code><br \/>\nreplace for<br \/>\n<code>function extra_tablenav( $which ) {}<\/code><\/p>\n<p>4. In file &#8220;omnisearch-plugins.php&#8221;, line 59<br \/>\n<code>function pagination() {}<\/code><br \/>\nreplace for<br \/>\n<code>function pagination( $which ) {}<\/code><\/p>\n<p>After repairing is the RSS feed ok (plugin but still contains more errors)<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/jetpack\/<\/p>\n","protected":false},"template":"","class_list":["post-3875269","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3875269","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\/3875269\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=3875269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}