• Resolved Lukenzi

    (@lukenzi)


    Hello, if you activate version 2.3, will damage the RSS feed. The error message is:

    WARNING: wp-admin/admin-header.php:9 – Cannot modify header information – headers already sent by (output started at /var/www/wordpress/wp-content/plugins/jetpack/modules/omnisearch/omnisearch-comments.php:6)

    The solution is simple:
    1. In file “omnisearch-comments.php, line 44
    function pagination() { }
    replace for
    function pagination( $which ) { }

    2. In the same file, line 32

    function get_per_page( $comment_status ) {
    		return apply_filters( 'omnisearch_num_results', 5 );
     }

    replace for

    function get_per_page( $comment_status = 'all' ) {
    		return apply_filters( 'omnisearch_num_results', 5 );
     }

    3. In the same file, line 48
    function extra_tablenav() {}
    replace for
    function extra_tablenav( $which ) {}

    4. In file “omnisearch-plugins.php”, line 59
    function pagination() {}
    replace for
    function pagination( $which ) {}

    After repairing is the RSS feed ok (plugin but still contains more errors)

    http://wordpress.org/extend/plugins/jetpack/

Viewing 1 replies (of 1 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Thanks a lot for the report!

    We fixed 1) and 4) in r730887-plugins, and 2) in r729121-plugins a few days ago. The fixes will be included in the next jetpack release.

    3) was already like that in the original Omnisearch commit, so it should be ok in Jetpack 2.3.

Viewing 1 replies (of 1 total)

The topic ‘Jetpack errors’ is closed to new replies.