• Hi,

    After an upgrade on one of the sites (PHP Version 5.2.17) got a White screen of death.
    Disabled the plugin, rolled back and now all is working.
    Trying to manually enable the 4.0.4 version the error.log displays :


    [28-Oct-2018 21:32:13] PHP Parse error: syntax error, unexpected T_FUNCTION in ../wp-content/plugins/wp-edit/includes/functions.php on line 767
    [28-Oct-2018 21:34:11] PHP Parse error: syntax error, unexpected T_FUNCTION in ../wp-content/plugins/wp-edit/includes/functions.php on line 767

    Looking it up seems like Anonymous functions were not supported till PHP v5.3.
    Will push host to upgrade version, hopefully this will solve it; however wanted to note this in case others hit the problem.

    Seems like the very code described in the readme is the one causing the problem; at least for pre-PHP5.3.

    On other hosts the upgrade worked well.

    Kind regards.

Viewing 1 replies (of 1 total)
  • Plugin Author Josh

    (@josh401)

    Thank you for reporting this issue. I can add a version check before executing that block of code. I do remember in my last update fixing something that php version 7 was complaining about. I thought I added the correct statements; and I’m wondering if this is related.

    I will certainly look into this further. Again, thank you for taking the time to report this matter.

Viewing 1 replies (of 1 total)
  • The topic ‘4.0.4 update – Whitescreen Screen of death’ is closed to new replies.