WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostViews
[resolved] Php warnings (2 posts)

  1. bartoner
    Member
    Posted 12 months ago #

    I used 1.65 version of plugin on Wp 3.6 for the first time with debug mode true. I got following error

    Notice: Undefined variable: should_count in C:\Program Files\EasyPHP-5.3.6.1\www\wordpress2\wp-content\plugins\wp-postviews\wp-postviews.php on line 118

    Notice: Undefined index: views in C:\Program Files\EasyPHP-5.3.6.1\www\wordpress2\wp-content\plugins\wp-postviews\wp-postviews.php on line 60

    Problem occurs only when I'm in logged in and when 'Count Views From' is set to guests only. Views showed '0'. After I logged off problem disappeared and when logged in again I get

    Notice: Undefined index: views in C:\Program Files\EasyPHP-5.3.6.1\www\wordpress2\wp-content\plugins\wp-postviews\wp-postviews.php on line 60

    http://wordpress.org/plugins/wp-postviews/

  2. Lester Chan
    Member
    Plugin Author

    Posted 12 months ago #

    Thanks, it will be fixed in 1.66, but notices are harmless, you can ignore it for now.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.