Hi,
I have a problem. The plugin worked great up to a point. Unfortunately, it recently only counts views from logged in users. I do not know why.
Do you have any idea how to solve this?
Greetings
]]>After updating 2 sites to 2.01, both experienced this error: In any browser on any system a white screen displayed ‘Secuity check’ and would not load the site. Rolled back to version 2.0 and no issues detected.
]]>Version 2.0 still vulnerable: https://patchstack.com/database/vulnerability/wp-simple-post-view/wordpress-post-view-count-plugin-1-8-2-cross-site-request-forgery-csrf-vulnerability
]]>Not resolved. Post View Count <= 1.8.4 – CSRF – The plugin does not have CSRF checks in some places, which could allow attackers to make logged in users perform unwanted actions via CSRF attacks
https://wpscan.com/vulnerability/71802be9-aa4e-43f0-86d7-2f4378ee096b/
]]>Will you be issuing an update? WordPress Post View Count plugin <= 1.8.2 – Cross Site Request Forgery (CSRF) vulnerability Rio Darmawan discovered and reported this Cross Site Request Forgery (CSRF) vulnerability in WordPress Post View Count Plugin. This could allow a malicious actor to force higher privileged users to execute unwanted actions under their current authentication. This vulnerability has not been known to be fixed yet.
]]>Been using without issues this Plug in ( THANK YOU!)
and this morning I am getting a fatal error all of the sudden. Disabled Plug in and it works. Any ideas?
WordPress Version: 6.3.1
Site Language: en_US
PHP version: 8.2.10 (Supports 64bit values)
Theme: Neve Version: 3.7.0
Getting the following error: ( removed actual directory)
[26-Sep-2023 14:26:20 UTC] PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + int in …/wp-content/plugins/wp-simple-post-view/includes/postSimplePostView.php:77
Stack trace: 0 …/wp-includes/class-wp-hook.php(310): NGD_wpSimplePostView->ngd_insertProcessPostviewFun(”) 1 …/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) 2 …/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 3 …/wp-includes/general-template.php(3053): do_action(‘wp_head’) 4 …/wp-content/themes/neve/header.php(46): wp_head() 5 …/wp-includes/template.php(785): require_once(‘/home1/sitestwo…’) 6 …/wp-includes/template.php(720): load_template(‘/home1/sitestwo…’, true, Array) 7 …/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) 8 …/wp-content/themes/neve/single.php(11): get_header() 9 …/wp-includes/template-loader.php(106): include(‘/home1/sitestwo…’) 10 …/wp-blog-header.php(19): require_once(‘/home1/sitestwo…’) 11 …/index.php(17): require(‘/home1/sitestwo…’) 12 {main}
thrown in …/wp-content/plugins/wp-simple-post-view/includes/postSimplePostView.php on line 77
]]>Hi,
Sort by Postview Ascending or Descending doesn’t properly order by count. I am using v1.8.2.
]]>1. The problem can occur if for some reason field “post_view” is not a numeric value.
For example, such code can be added, in postSimplePostView.php:
if (!is_numeric($post_views)) {
$post_views = 0;
}
before “$post_views = $post_views + 1;”
2. We can also add a check like this:
postSimplePostView.php line 43
if (is_null($post)) {
return;
}
3. The visit counting may also not work correctly if LiteSpeed Cache is used. I don’t know how to fix this.
]]>when i click on the post view ASC or DSC it give me this error :
There has been a critical error on this website. Please check your site admin email inbox for instructions.
below screenshot of the error:
how can i fix it ?
Thank You
]]>Hi, I use the plugin on several installations without ever having problems and find the functions you have devised useful.
I have a problem with Php.
With the old version 7.4 everything works correctly, while if I switch to versions 8.0 and 8.1 I get log errors.
Here are the logs:
PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /var/www/vhosts/divi-lab.com/httpdocs/wp-content/plugins/wp-simple-post-view/includes/postSimplePostView.php:78\nStack trace:\n#0 /var/www/vhosts/divi-lab.com/httpdocs/wp-includes/class-wp-hook.php(308): NGD_wpSimplePostView->ngd_insertProcessPostviewFun(”)\n#1 /var/www/vhosts/divi-lab.com/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)\n#2 /var/www/vhosts/divi-lab.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#3 /var/www/vhosts/divi-lab.com/httpdocs/wp-includes/general-template.php(3043): do_action(‘wp_head’)\n#4 /var/www/vhosts/divi-lab.com/httpdocs/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend-header-template.php(11): wp_head()\n#5 /var/www/vhosts/divi-lab.com/httpdocs/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(216): require_once(‘/var/www/vhosts…’)\n#6 /var/www/vhosts/divi-lab….’
divi-lab.com [Wed Feb 08 09:19:26 2023] [error] [pid 32315] mod_proxy_fcgi.c(888): [client 31.191.44.47:0] AH01071: Got error ‘PHP message: PHP Warning: A non-numeric value encountered in /var/www/vhosts/divi-lab.com/httpdocs/wp-content/plugins/wp-simple-post-view/includes/postSimplePostView.php on line 78′
Could you check if an update of the plugin is possible?
I would hate to change plugins, I am sure if you have pleasure, you will try to solve it.
Thank you
This plugin actually works as advertised, simple n light, only one problem in my case, Link share preview for Whatsapp (og:image) not displaying thumbnail. Quite weird as if I check thru heymeta.com, the preview is displayed correctly.
]]>must be an array or an object that implements Countable in /var/www/vhosts/example.com/public_html/wp-content/plugins/wp-simple-post-view/includes/add_post_column.php on line 24
I tried to reset the stats. No results
Is there a possibility to add fake views to the post and to automatically add 100+ views on refresh?
]]>Hello and thanks a lot for your plugin,
we are very happy to count the views easy with Post View Count. There is one question left: It looks like our AMP-Views are not tracked? We are using “AMP for WP”. Can you give us a short hint, how we could track the AMP-Views? Or are they tracked?
And another question: Is every view trackend, or is it only one click from a special IP in 24 hours or so?
Best regards
JWH
the only plugin ive found with post meta… ty for that but its possible to let us edit the “post view:” text…
]]>
I installed new theme on my site and I wanted to reset the views, but there isn’t any option for that. I tried to reinstall the plugin but in didn’t work.
And I want to know how can I exclude myself (logged in user- admin) from count viewing, and also exclude bots, or thats already implemented in it?
Best regards
]]>Is it a possible way to sort posts Ascending or Descending according to number of views
]]>