Viewing 15 replies - 16 through 30 (of 51 total)
  • Thread Starter tokar86a

    (@tokar86a)

    I have update the Browscap.php file now.

    Plugin Contributor Greg Ross

    (@gregross)

    Ok, let me know if the error comes up again.

    Maybe this might help…

    I am not sure what exactly happened at around 3am EST but since then my error log is full of “/wp-content/plugins/wp-statistics/includes/classes/Browscap.php” on lines 354 and 355.

    The site was down.

    After manually deleting wp-statistics folder site is up again.

    Edit:
    Using dashboard and reinstalling the wp-statistics plugin the site goes down.

    Thread Starter tokar86a

    (@tokar86a)

    i still got the error after updating the file:

    [Wed Sep 16 17:59:03.102130 2015] [fcgid:warn] [pid 37252:tid 140399718950656] [client 108.161.129.51:35258] mod_fcgid: stderr: PHP Fatal error: Unsupported operand types in /home/tokar86a/public_html/wp-content/plugins/wp-statistics/includes/classes/Browscap.php on line 369, referer: https://www.myabdllife.com
    [Wed Sep 16 17:59:03.786468 2015] [fcgid:warn] [pid 39958:tid 140399519643392] [client 108.161.129.51:62195] mod_fcgid: stderr: PHP Fatal error: Unsupported operand types in /home/tokar86a/public_html/wp-content/plugins/wp-statistics/includes/classes/Browscap.php on line 369, referer: https://www.myabdllife.com

    Hi,

    here also my error log is filled with this:

    [Wed Sep 16 02:20:38 2015] [error] [client 66.249.78.146] [host klussenpunt.nl] Backend fatal error: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/deb49165/domains/klussenpunt.nl/public_html/wp-content/plugins/wp-statistics/includes/classes/Browscap.php on line 355\n

    My website, frontend and backend was down for a day because of this failure. Please send out a fix soon!

    Plugin Contributor Greg Ross

    (@gregross)

    I’m not able to reproduce the issue so I need some help getting some additional data.

    I need someone to do the following:

    – Disable browscap for a few hours.
    – Enable “Store entire user agent string”.
    – wait a while.
    – Export the wp_statistics_visitor table data for the last few hours and send it to me via the contacts form on wp-stasitics.com.
    – Enable/Disable the above settings again.

    Thanks.

    Thread Starter tokar86a

    (@tokar86a)

    How long should i wait before i send it? should i have the error in the error log before i should send it?

    Plugin Contributor Greg Ross

    (@gregross)

    You won’t see the error after you disable browscap, take a look at your logs now, if your seeing the error every 15 minutes of so, wait 30 minutes to make sure you get a request.

    Its a bit of a guessing game on how long to wait unfortunately.

    I would love to help you but my problem is like of HJvD. After installing plugin via dashboard both, dashboard and website are down.

    I can move plugin folder so this is how I was able to recover.
    I can move the plugin folder back in to a production but before that I need instructions how to enable/disable whatever you would like by either editing some config files or changing setting records in db.

    Plugin Contributor Greg Ross

    (@gregross)

    @pressthewords: Do you have access to phpMyAdmin? If so, go to your wp_options table and search for an option named wp_statistics.

    Edit the option, it’s long and complex but in it will be the following string:

    s:8:"browscap";s:2:"on";

    change it to:

    s:8:"browscap";s:0:"";

    Then re-activate WP Statistics.

    Did it.

    The plugin page states: “The following features are disabled, please go to settings page and enable them: online user tracking,hit tracking,visitor tracking,geoip collection”

    What would you like me to do next?

    Edit:
    There is no stats displaying on the plugin page. Normal?

    Plugin Contributor Greg Ross

    (@gregross)

    @pressthewords: Go and re-enable the options listed (make sure you DONT enable browscap again), then following the instructions above to collect the data.

    So…
    I have checked:
    User Online,
    Visits and
    Visitors

    Good?

    Not sure where is check box for “geoip collection”
    Edit: Fount it under Externals. Now the stats page looks like before.

    But stats details are back.
    And the front and back end of the site are still up.

    Thread Starter tokar86a

    (@tokar86a)

    i have send you the file. i dont know it this is enough. i have not turn on Browscap.php yet. Let me know when i can turn this back on and disable Store entire user agent string

    Plugin Contributor Greg Ross

    (@gregross)

    Got it, thanks. I’ll take a look at it later today and see if I can reproduce the issue.

Viewing 15 replies - 16 through 30 (of 51 total)
  • The topic ‘Unsupported operand types in Browscap.php’ is closed to new replies.