Support » Plugin: WP Statistics » Warnings with PHP 7.1

  • Resolved TobiasHoessl

    (@tobiashoessl)


    Hi,

    after updating to PHP 7.1, I’m getting a warning from WP statistics on every page:

    Warning: A non-numeric value encountered in /Users/…/Sites/wordpress/wordpress/wp-content/plugins/wp-statistics/includes/classes/statistics.class.php on line 64

    This seems to be a bug in hashing the IPs; “$this->ip + $_SERVER[‘HTTP_USER_AGENT’]” is used instead of “$this->ip . $_SERVER[‘HTTP_USER_AGENT’]”.

    Bye,
    Tobias

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warnings with PHP 7.1’ is closed to new replies.