Support » Plugin: WP Statistics » Warning: Cannot modify header information

  • I am still getting the following warning (many entries in my log):

    Warning: Cannot modify header information – headers already sent by (output started at /home/blackj90/public_html/blackjackreview.com/wp/wp-content/plugins/wp-statistics/includes/class-wp-statistics-hits.php:236) in /home/blackj90/public_html/blackjackreview.com/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1372

    Reviewing past forum entries it looks like this was supposed to be have been fixed 2 years ago.

    ?????

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bjrnet21

    (@bjrnet21)

    I have WP 5.5.3. I haven’t upgraded to 5.6 yet.

    Also, I have version 13.0.4 of the plugin.

    And PHP 7.3.23.

    Plugin Contributor veronalabs

    (@veronalabs)

    Hi @bjrnet21,

    Thank you for using our plugin.

    Could you please update your plugin to the latest version (v13.0.5) and let me know the result?

    Happy Holidays!
    Best,

    Thread Starter bjrnet21

    (@bjrnet21)

    Just checked my logs. I have NOT received any “Warning: Cannot modify header information” related to wp-statistics since Dec 14.

    However, I am getting these database errors: (last one on Dec 31):

    WordPress database error Deadlock found when trying to get lock; try restarting transaction for query DELETE FROM wpfd_options WHERE option_name = ‘_transient_timeout_wps_excluded_hostname_to_ip_cache’ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/twentyfourteen/single.php’), get_header, locate_template, load_template, require_once(‘/themes/twentyfourteen/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, WP_STATISTICS\Frontend->add_inline_rest_js, WP_STATISTICS\Frontend::set_default_params, WP_STATISTICS\Exclusion::check, WP_STATISTICS\Exclusion::exclusion_hostname, get_transient, delete_option

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: Cannot modify header information’ is closed to new replies.