title: “Warning: A non-numeric value encountered” error
body: <p>I'm getting an error while running view counter:</p>
  
  <blockquote>
    <p>Warning: A non-numeric value encountered in C:\xampp\htdocs\tepetaklak\wp-content\themes\gridlove\core\template-functions.php
    on line 163</p>
  </blockquote>
  
  <p>Here is the code : </p>
  
  <pre><code>case 'views':
                  global $wp_locale;
                  $thousands_sep = isset( $wp_locale-&gt;number_format['thousands_sep'] ) ? $wp_locale-&gt;number_format['thousands_sep'] : ',';
                  if ( strlen( $thousands_sep ) &gt; 1 ) {
                      $thousands_sep = trim( $thousands_sep );
                  }
  /*line163*/ $meta = function_exists( 'ev_get_post_view_count' ) ?  number_format_i18n( absint( str_replace( $thousands_sep, '', ev_get_post_view_count( get_the_ID() ) ) + gridlove_get_option( 'views_forgery' ) ) )  . ' '.__gridlove( 'views' ) : '';
                  break;
  </code></pre>
  
  <p>Thanks for support.</p>