Support » Plugin: Slimstat Analytics » Doesn’t work anymore since update

  • Resolved wordpresspit

    (@wordpresspit)


    Hi there!

    Since I’ve updated to v4.5 I get a white site. Anybody else with this problem? Are there any solutions?

Viewing 13 replies - 31 through 43 (of 43 total)
  • Plugin Author Jason Crouse

    (@coolmann)

    Can you give me the path of the file where you found “your” server error log?

    wordpresspit

    (@wordpresspit)

    Apache.

    Ok, I think this is it (xxx = URL or path):

    13.01.2017 12:57:29 xxx [client 2a02:810c:400::] PHP Fatal error: Uncaught BrowscapPHP\\Exception: there is no active cache available, please run the update command in xxx/wp-content/uploads/wp-slimstat/browscap-db/browscap/browscap-php/src/Browscap.php:200
    13.01.2017 12:57:29 xxx [client 2a02:810c:400::] Stack trace:
    13.01.2017 12:57:29 xxx [client 2a02:810c:400::] #0 xxx/wp-content/uploads/wp-slimstat/browscap-db/composer/autoload_real.php(78): BrowscapPHP\\Browscap->getBrowser()
    13.01.2017 12:57:29 xxx [client 2a02:810c:400::] #1 xxx/wp-content/plugins/wp-slimstat/browscap/browser.php(24): slimBrowscapConnector::get_browser_from_browscap(Array)
    13.01.2017 12:57:29 xxx [client 2a02:810c:400::] #2 xxx/wp-includes/class-wp-hook.php(298): slim_browser::init(”)
    13.01.2017 12:57:29 xxx [client 2a02:810c:400::] #3 xxx/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
    13.01.2017 12:57:29 xxx [client 2a02:810c:400::] #4 xxx/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    13.01.2017 12:57:29 xxx [client 2a02:810c:400::] #5 xxx/wp-settings.php(449): do_action(‘init’)
    13.01.2017 12:57:29 xxx [client 2a02:810c:400::] #6 xxx/wp-config.php(115) in xxx/wp-content/uploads/wp-slimstat/browscap-db/browscap/browscap-php/src/Browscap.php on line 200

    Plugin Author Jason Crouse

    (@coolmann)

    There you go. This is much better. Okay, it means the Browscap Library is corrupted for some reason. Please delete the entire folder ‘browscap-db’ under /wp-content/uploads/wp-slimstat/ and then install the library again from the admin (Maintenance tab under Settings).

    Plugin Author Jason Crouse

    (@coolmann)

    In the meanwhile, we’ve added some more controls to our code, to make sure this doesn’t happen, even when the library is badly corrupted. Thank you for your patience and for pointing this out.

    Jason

    wordpresspit

    (@wordpresspit)

    In v4.4.1 I didn’t find a way to reinstall the library. And in v4.5.1 I can’t do anything because of white screen.

    I am reading that you have another version in progress, right?!?

    Plugin Author Jason Crouse

    (@coolmann)

    If you delete that folder like I suggested here above, the white screen should not happen, as long as you have version 4.5.1 installed. Only deleting that folder will solve the problem, as the library is corrupted on your end.

    wordpresspit

    (@wordpresspit)

    No, sorry. When I do an update and afterwards I delete the browscap-folder the backend will not work (white screen), the frontend is ok.
    I have no access to slimstat settings.

    Plugin Author Jason Crouse

    (@coolmann)

    Can you look at the Apache error log when your backend does not work? As you can see, the error here above is caused by the Browscap library, so if you delete that folder, we need to figure out now what’s causing your WSOD in the admin.

    wordpresspit

    (@wordpresspit)

    Ok. Here is the whole error log. I updated slimstat (4.4.1 to 4.5.1), then deleted the browscap-folder, if the frontend is ok (yes) and afterwards the dashboard (white screen).

    xxx = path or URL

    16.01.2017 22:19:05 xxx [client 2a02:810c:400::] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘slim_browser’ not found in /xxx/wp-includes/class-wp-hook.php on line 298
    16.01.2017 22:19:06 xxx [client 2a02:810c:400::] PHP Warning: include_once(/xxx/wp-content/plugins/wp-slimstat/browscap/browser.php): failed to open stream: No such file or directory in /xxx/wp-content/plugins/wp-slimstat/wp-slimstat.php on line 120, referer: http://xxx/
    16.01.2017 22:19:06 xxx [client 2a02:810c:400::] , referer: http://xxx/
    16.01.2017 22:19:06 xxx [client 2a02:810c:400::] PHP Warning: include_once(): Failed opening ‘/xxx/wp-content/plugins/wp-slimstat/browscap/browser.php’ for inclusion (include_path=’.:/opt/RZphp70/includes’) in /xxx/wp-content/plugins/wp-slimstat/wp-slimstat.php on line 120, referer: http://xxx/
    16.01.2017 22:19:07 xxx [client 2a02:810c:400::] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘slim_browser’ not found in /xxx/wp-includes/class-wp-hook.php on line 298, referer: http://xxx/
    16.01.2017 22:19:07 xxx [client 2a02:810c:400::] PHP Warning: include_once(/xxx/wp-content/plugins/wp-slimstat/browscap/browser.php): failed to open stream: No such file or directory in /xxx/wp-content/plugins/wp-slimstat/wp-slimstat.php on line 120, referer: http://xxx/
    16.01.2017 22:19:07 xxx [client 2a02:810c:400::] , referer: http://xxx/
    16.01.2017 22:19:07 xxx [client 2a02:810c:400::] PHP Warning: include_once(): Failed opening ‘/xxx/wp-content/plugins/wp-slimstat/browscap/browser.php’ for inclusion (include_path=’.:/opt/RZphp70/includes’) in /xxx/wp-content/plugins/wp-slimstat/wp-slimstat.php on line 120, referer: http://xxx/
    16.01.2017 22:19:08 xxx [client 2a02:810c:400::] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘slim_browser’ not found in /xxx/wp-includes/class-wp-hook.php on line 298, referer: http://xxx/
    16.01.2017 22:19:08 xxx [client 2a02:810c:400::] PHP Warning: include_once(/xxx/wp-content/plugins/wp-slimstat/browscap/browser.php): failed to open stream: No such file or directory in /xxx/wp-content/plugins/wp-slimstat/wp-slimstat.php on line 120, referer: http://xxx/wp-admin/plugins.php
    16.01.2017 22:19:08 xxx [client 2a02:810c:400::] , referer: http://xxx/wp-admin/plugins.php
    16.01.2017 22:19:08 xxx [client 2a02:810c:400::] PHP Warning: include_once(): Failed opening ‘/xxx/wp-content/plugins/wp-slimstat/browscap/browser.php’ for inclusion (include_path=’.:/opt/RZphp70/includes’) in /xxx/wp-content/plugins/wp-slimstat/wp-slimstat.php on line 120, referer: http://xxx/wp-admin/plugins.php
    16.01.2017 22:19:08 xxx [client 2a02:810c:400::] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘slim_browser’ not found in /xxx/wp-includes/class-wp-hook.php on line 298, referer: http://xxx/wp-admin/plugins.php
    16.01.2017 22:19:08 xxx [client 2a02:810c:400::] PHP Warning: include_once(/xxx/wp-content/plugins/wp-slimstat/browscap/browser.php): failed to open stream: No such file or directory in /xxx/wp-content/plugins/wp-slimstat/wp-slimstat.php on line 120, referer: http://xxx/
    16.01.2017 22:19:08 xxx [client 2a02:810c:400::] , referer: http://xxx/
    16.01.2017 22:19:08 xxx [client 2a02:810c:400::] PHP Warning: include_once(): Failed opening ‘/xxx/wp-content/plugins/wp-slimstat/browscap/browser.php’ for inclusion (include_path=’.:/opt/RZphp70/includes’) in /xxx/wp-content/plugins/wp-slimstat/wp-slimstat.php on line 120, referer: http://xxx/
    16.01.2017 22:19:09 xxx [client 2a02:810c:400::] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘slim_browser’ not found in /xxx/wp-includes/class-wp-hook.php on line 298, referer: http://xxx/
    16.01.2017 22:19:11 xxx [client 2a02:810c:400::] PHP Warning: include_once(/xxx/wp-content/plugins/wp-slimstat/browscap/browser.php): failed to open stream: No such file or directory in /xxx/wp-content/plugins/wp-slimstat/wp-slimstat.php on line 120, referer: http://xxx/wp-admin/plugins.php
    16.01.2017 22:19:11 xxx [client 2a02:810c:400::] , referer: http://xxx/wp-admin/plugins.php
    16.01.2017 22:19:11 xxx [client 2a02:810c:400::] PHP Warning: include_once(): Failed opening ‘/xxx/wp-content/plugins/wp-slimstat/browscap/browser.php’ for inclusion (include_path=’.:/opt/RZphp70/includes’) in /xxx/wp-content/plugins/wp-slimstat/wp-slimstat.php on line 120, referer: http://xxx/wp-admin/plugins.php
    16.01.2017 22:19:11 xxx [client 2a02:810c:400::] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘slim_browser’ not found in /xxx/wp-includes/class-wp-hook.php on line 298, referer: http://xxx/wp-admin/plugins.php

    Hi Jason, do you have any solutions for this problem?

    Plugin Author Jason Crouse

    (@coolmann)

    One of the core plugin files is missing, not sure why. You can download the file from here:

    https://plugins.svn.wordpress.org/wp-slimstat/tags/4.5.1/browscap/browser.php

    Save that file and upload it to

    wp-content/plugins/wp-slimstat/browscap/

    That will solve your latest issue.

    Best,
    Jason

    Whatever you’ve done…
    After a simple update to 4.5.1 now it works fine!
    I didn’t had to add browser.php manually.

    Plugin Author Jason Crouse

    (@coolmann)

    Fantastic! Thank you for letting us know.

Viewing 13 replies - 31 through 43 (of 43 total)
  • The topic ‘Doesn’t work anymore since update’ is closed to new replies.