Hi EgorRevenga,
Previously i just edit this file wp-content/plugins/jnews-view-counter/class.jnews-view-counter.php line 387. It seems this issue related with PHP version on your server.
wp-content/plugins/jnews-view-counter/class.jnews-view-counter.php
Thank you