• When updating to or installing version 4.9 I get the following error, leading to a white screen and taking the site down.

    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /***/wp-content/plugins/wp-simple-firewall/src/processors/hack_protect.php on line 24

    Pretty sure this is only an issue on PHP < 5.4. I totally understand that we should all be using 5.4 or above but it’d be great if you could add something to the changelog mentioning that the plugin won’t work on earlier versions.

    https://www.ads-software.com/plugins/wp-simple-firewall/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Paul

    (@paultgoodchild)

    I can see what would’ve caused that… I’ll release a quick fix to that in just a minute. Thanks for reporting it!

    Plugin Author Paul

    (@paultgoodchild)

    v4.9.1 is released to address this issue.

    Thread Starter Martin Young (dmwmartin)

    (@dmwmartin)

    Amazing, thanks Paul. Tested on both servers and can confirm the patch works.

    I’m having the same problem; apparently the plugin auto updated. I am able get into the admin console, and turned the plugin off, but the side is still down.
    The plugin is showing that it’s 4.9.1; how do I fix this?

    2 out of 4 sites on the same server automatically updated… 1 of the 2 is down. The same error as Martin posted…
    It doesn’t seem to be the php version, since one site still works.

    Plugin Author Paul

    (@paultgoodchild)

    This is a PHP syntax error for versions of PHP < 5.4.

    Can you manually update the files – while it might report 4.9.1, perhaps the problem file itself didn’t get properly updated.

    I replaced the hack_protect.php file with the one from the other site. It’s working now, so far…

    The “bad” file had the same date/time as the other files in the processors directory; it was slightly smaller than the one from the other site.

    That makes me wonder about all of the other updated files.

    Plugin Author Paul

    (@paultgoodchild)

    You would be best to remove it and reinstall, or just copy up all the other files. The only file that had any ‘code’ change between 4.9.0 and 4.9.1 was that file you replaced. But better to copy up all the files.

    Hi,
    I have the same issue with the site being taken down & had this when the site tried to load.

    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /***/wp-content/plugins/wp-simple-firewall/src/processors/hack_protect.php on line 24

    Uploaded the latest version by ftp which got the site backup & running but when i try to login to the modified admin page i get the same error?

    Any idea as i cant get in to make changes?

    Regards

    Neil

    Plugin Author Paul

    (@paultgoodchild)

    How do you mean, modified admin page?

    You shouldn’t be getting the same error if the files were definitely updated correctly – it’s impossible.

    So something else is giving you an error, or the error page is cached.

    Hi Paul,
    Thanks for coming back to me, sorry i meant the hidden login page, tried a refresh which didn’t work but cleared the cache & cookies etc which sorted it..

    Thank you so much ??

    Regards

    Neil

    Plugin Author Paul

    (@paultgoodchild)

    No problem! I guessed it was probably a caching issue ??

    May I ask, even though you’ve had a bit of trouble with this update this time around, could you leave us a nice WordPress review? These really help us spread the word and give new users trust in our service.

    Thanks Neil!

    Hi Paul,
    Absolutely no problem at all ??

    Will do it now.

    Neil

    Plugin Author Paul

    (@paultgoodchild)

    Thank you so much, Neil! Really appreciate your help to spread the word… Awesome! ??

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘White screen on update / install of v4.9.0’ is closed to new replies.