Viewing 11 replies - 16 through 26 (of 26 total)
  • Plugin Contributor Greg Ross

    (@gregross)

    gbonvehi: plugins_loaded happens before init and the recommendation is “as early as” so anything later should be fine as well (previous to v9 we actually loaded it outside of any hook when the initial plugin code ran). The problem here is for some reason the $WP_Statistics for some reason has been redefined by something as a non-object.

    I’m going to add a check to the code.

    If your having this issue, try changing line 25 of wp-statistics.php from:

    if( ! $WP_Statistics->get_option('override_language', false) ) {

    to

    if( ! is_object( $WP_Statistics ) ) { return; }
    
    if( ! $WP_Statistics->get_option('override_language', false) ) {

    I will try these suggestions and report back. Thank you.

    Solution by gbonvehi did not make any difference, unfortunately. The error is still the same.

    But the solution by author Greg Ross did work.

    Thank you!!

    Plugin Contributor Greg Ross

    (@gregross)

    karlharshman: would you be willing to do some more testing? If so could you disable all of your other plugins and then remove the fix and see if WP Statistics still works? If so, start enabling your plugins one at a time until it breaks, then let me know which one it was.

    Thanks.

    Had the same problem (wp-statistics.php on line 25). The solution by Greg Ross solved the problem. Thanks!

    Same problem wp-statistics.php on line 25. I fixed it by deleting plug in through webhotel php, thanks

    Kim

    Plugin Contributor Greg Ross

    (@gregross)

    kveservices: Do you still have the issue with version 9.1?

    I’m having major issues with my website too after updating WP statistics. Unbelievable. Was this update tested properly? I can’t log into site anymore. On one browser where my credentials are stored, I can’t click on dashboard. Tried deleting wp-statistics folder from wp-content/plugins but it got even worse. outsideit.net

    What else can I do to fix this?

    Ok, managed to fix it by deleting the wp-statistics folder and clearing the cache.

    9.1 works fine for me now in vanilla. Deleted 9.0 and the fix from above and did a fresh install. I use php version 5.5

    Plugin Contributor Greg Ross

    (@gregross)

    Closing due to inactivity.

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Problem after updating plugin’ is closed to new replies.