WordPress.org

Forums

WP Power Stats
[resolved] Fatal and Error (19 posts)

  1. davegiannini
    Member
    Posted 1 year ago #

    I get a fatal error when i try to not have bots count in my stats? Help?

    https://wordpress.org/plugins/wp-power-stats/

  2. artifex404
    Member
    Plugin Author

    Posted 1 year ago #

    What WordPress, plugin and PHP versions do you have?

  3. davegiannini
    Member
    Posted 1 year ago #

    I have the newest version of wordpress and power stats 1.3.1. I'm not actually sure how to answer the PHP question (definitely new at this!)

  4. artifex404
    Member
    Plugin Author

    Posted 1 year ago #

    Can you post the fatal error you get? And when exactly does it happen?

  5. davegiannini
    Member
    Posted 1 year ago #

    The error happens within the stats section (the wp power stats settings); I go to check the "bots" box, so I won't see visitors who arent actual people, and then hit save settings.

    Then I get an error that says: Fatal error: Call to a member function remove_cap() on a non-object in /home/davgia6/popculturecasestudy.com/wp-content/plugins/wp-power-stats/wp-power-stats.php on line 234

  6. artifex404
    Member
    Plugin Author

    Posted 1 year ago #

    Are you sure you are using the latest WordPress version?
    The latest version of WordPress is 3.9.1.

    According to your site footer, it seems that you are using version 2.8.

  7. davegiannini
    Member
    Posted 1 year ago #

    I think that is due to the theme I am using. I assure you I am using the newest version

  8. artifex404
    Member
    Plugin Author

    Posted 1 year ago #

    Try to remove the plugin, download a fresh copy of WP Power Stats version 1.3.1, and install it. When you remove the plugin, your statistics will be kept automatically.

  9. davegiannini
    Member
    Posted 1 year ago #

    gave that a try and that didn't work

  10. artifex404
    Member
    Plugin Author

    Posted 1 year ago #

    Did you try it after I suggested it? I made a minor fix to the version 1.3.1. This is really a strange issue. I cannot reproduce the error. Do you have some custom roles specified in your WordPress?

  11. davegiannini
    Member
    Posted 1 year ago #

    I did try it after you suggested it. how would I know if I have "custom roles"

  12. artifex404
    Member
    Plugin Author

    Posted 1 year ago #

    That will involve some programming... Did the error, or the error line change after you tried the last solution?

  13. davegiannini
    Member
    Posted 1 year ago #

    nope same exact error message

  14. artifex404
    Member
    Plugin Author

    Posted 1 year ago #

    Hey, you might want to install the developer plugin: http://wordpress.org/plugins/developer/

    Then activate/install the debug bar from it.

    On the WP Power Stats settings page then click on the "Debug" option on the top bar, and copy the info from different tabs to http://pastebin.com/ for example and provide me the links. That might help catching that nasty bug.

  15. davegiannini
    Member
    Posted 1 year ago #

  16. brennan80
    Member
    Posted 1 year ago #

    I am also getting the error described above when I try to block out administrators' views from being counted, or try to add my IP to the list of IPs to ignore views from.

    I am using wordpress 3.9.1 on godaddy hosting (not my choice, I'm pretty sure it's apache).

    Here is the message I get:

    Fatal error: Call to a member function remove_cap() on a non-object in ****/wp-content/plugins/wp-power-stats/wp-power-stats.php on line 234

    I really like the user interface for this plugin and it is very lightweight. However, I need to be able to ignore administrators' views so that I can ignore pageviews generated by site testing tools like pingdom and the godaddy p3 plugin performance tool.

    Thanks!

  17. artifex404
    Member
    Plugin Author

    Posted 1 year ago #

    Do not worry. As soon as I'll get that bug reproduced, I'll fix it. Davegiannini, on the debug page, there is PHP and MySQL version. Could you write it?

    Also if you could paste the following in the pastebin:

    1. On the debug page, there a menu on the left, go to: console
    2. There will be <?php written on the PHP tab, edit it to be the following:
    <?php phpinfo();
    3. Press run
    4. Copy the output to pastebin.
    5. Send me the link in a private message

  18. davegiannini
    Member
    Posted 1 year ago #

    It's working now because of the update! Thanks!

  19. artifex404
    Member
    Plugin Author

    Posted 1 year ago #

    Great!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Power Stats
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.