Viewing 15 replies - 1 through 15 (of 15 total)
  • Same error for me, I had to remove it via my FTP program.

    please help me! I think I am having the same problem too. after I click ‘update automatically’ at the statcounter plugin update notification, I realized my wp-admin goes blank! please tell me what to do?
    do I have to go to my CPanel and delete the plugin folder from there? will it work? I’m a beginner, please do help!

    thanks.

    I tried uninstalling it, it doesnt worked

    I had to recover the site from database backup…if there is no help for this available I just hope you guys got backups ready…

    Thread Starter FF44

    (@ffustier)

    You can recover the wp-admin dashboard by deleting the statcounter plugin folder (with your FTP application). There will be no damage.
    There is an error line 37 in the php file, has to be fixed.

    THANK YOU to those who suggested removing Official Statcounter via the FTP plugin-that worked for me. What a horrible experience–sorry I’ll never re-install this ever ever ever.

    It’s quite an easy fix actually. Open up the StatCounter-Wordpress-Plugin.php in an text editor and navigate to line 37 which should look like the following:
    if ( stats_get_option('blog_id') ) {

    Change that to say:
    if ( get_option('blog_id') ) {

    Save it, and re-upload and activate it, and walla – all working ??

    Thread Starter FF44

    (@ffustier)

    thanks a lot for your php mastering ??

    Thanks for the fix. I would have never figured it out in a million years.

    In fact, I think it is not necessary to install this plugin. I would rather use the official statcounter.com site to track the stat. You can track all your sites over there.

    Michael

    In order for Statcounter to be able to know when your website(s) and its pages have been accessed, it needs to knw the id of your statcounter account, which can be done two ways: sticking the “install code” the statcounter.com website gives you into the HTML of your website (technically PHP for wordpress blogs), or by using this plugin.

    I would opt for the plugin, just making sure that line 37 is edited to the fix mention above ??

    I tried deleting StatCounter-Wordpress-Plugin.php from wp-content/plugins/ as well as downloaded the update and changed line 37 as mentioned above, and I still get the error… Please help!

    I’d like to rescind my previous comment. I had updated then uploaded the statcounter plugin to the wrong area. The fix works as stated! Thank you, Swalchy! Shame on statcounter.

    I got the plugin from StatCounter and installed it. It was working fine. Then wp told me I should update the plugin. And now I can’t get into my admin area. So, where do I go to fix or delete the update and get rid of the message when I try to get in. One of my other blogs was also affected. And I didn’t even try to update that one. How do I fix it if I can’t get into my admin area? I’m a newbie, so I need step by step, if you could.

    Swalchy’s suggestion above to edit line 37 in the php file worked. Made the edit in the zip file and then uploaded and installed. Back in bizness!

    “It’s quite an easy fix actually. Open up the StatCounter-Wordpress-Plugin.php in an text editor and navigate to line 37 which should look like the following:
    if ( stats_get_option(‘blog_id’) ) {

    Change that to say:
    if ( get_option(‘blog_id’) ) {

    Save it, and re-upload and activate it, and walla – all working :)”

    Thanks for the tip! I suppose you could just edit the file in the FTP uploader and not bother with the delete and reupload.

    Hi Guys,

    Apologies for any inconvenience caused with this latest update.

    This bug only occurs under certain conditions and it went unnoticed before we released it.

    The advice on how to fix it is spot on and we’ve already applied and sent the fix to wordpress. It should be available to download from wordpress shortly.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Plugin: StatCounter – Free Real Time Visitor Stats] crash of wp-admin’ is closed to new replies.