• Hi,

    I just upgraded to the latest version of your plugin (automatic through ftp) and my blog just stopped working: e dreaded white screen of death I renamed the runners-log directory and WordPress disabled the plugin. Then WordPress started normally again.

    Cannot find any more debugging info. Have anyone else experienced this?

    Cheers,
    Casper

Viewing 9 replies - 1 through 9 (of 9 total)
  • ??

    How does that white screen of death looks like?

    I cant recall I have seen it in my setup and at my site where I use it:

    https://liljefred.dk

    Thread Starter CasperB

    (@casperb)

    The WSOD is when the site just stops completely and just displays a white page in de browser.

    I just tried to reactivate the plugin and I got the following error:

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in blablabla/httpdocs/wp/wp-content/plugins/runners-log/runnerslog_gchart.php on line 174

    Ahh, seems to be this line:

    $valuepercents = array_map(function ($a) use($sumvalue) { return ROUND((($a/$sumvalue)*100),0); }, $monthsList); // will only work in php5.3??

    Its because only php5.3. supports anonymous functions.

    I will try to fix it as soon as possible!!

    What php version do you have? Do you know that?

    If you have php 5.3 or greater I cant see what’s wrong :S

    Thread Starter CasperB

    (@casperb)

    I’m using php 5.2.13

    Im looking at a solution right now!

    I have some trouble recoding that line – I need some help here and went to #php at freenode – and maybe Ill have some help later today…

    I will make a new release as soon Im able to it!!

    The problem is I use that code snippet many times:

    Howto re-code this line: https://pastebin.com/zZ0F6gaH to be <5.2.x compatible? I use it in line 174, 180, 220, 226, 262, 292, 339, 346 https://plugins.trac.www.ads-software.com/browser/runners-log/trunk/runnerslog_gchart.php

    A new version 2.2.1 is out

    Thread Starter CasperB

    (@casperb)

    The upgrade worked fine and the activation was succesfull.
    Thanks for your excellent quick response!

    Somehow I have to re-chmod 777 the Cache directory after every upgrade, including this upgrade. In other words, the dir settings are lost after the upgrade. But that is easy to fix ?? and it all works now.

    Thanks,
    Casper

    If you use the new google chart function you dont need the cache function at all as google do the server generation of the charts… ??

    Enjoy!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Runners Log] White screen of death after plugin upgrade’ is closed to new replies.