• Resolved micksim

    (@micksim)


    Hi all,

    I’ve had this plugin installed for quite a long while with no problems at all. I love it.

    However, today I went login to WP dashboard and got the following error:

    “Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/…/wp-content/plugins/wp-simple-firewall/src/features/ips.php on line 242”

    I was able to eventually login after going to my cPanel and deleting the plugin.

    I then tried to install it again, but it won’t install, the same error comes up, and it just won’t install.

    It was fine yesterday, but not today.
    I have not installed or uninstalled anything, or in fact changed anything at all.

    Quite literally I logged out yesterday and the above happened when trying to login today.

    I’d really like to continue to use this plugin, so please if you have an idea of what might be going on, I could do with a hand right now.

    Thanks
    Mick

    https://wordpress.org/plugins/wp-simple-firewall/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Same issue here. Deleted plugin through FileZilla and website is fine now.

    So, I’m thinking maybe we can just pop an older version of the plugin, from a backup, into the plugins folder and fix it. Then turn off auto update, so it won’t do it again. I’m backing up now before I try it.

    Plugin Author Paul

    (@paultgoodchild)

    Hey guys, sorry for trouble here. This is a php 5.2 issue… I released 4.10.3 as soon as it was brought to my attention.

    I highly advise you contact your host to ask them about availability of hosting with higher versions of php. You’re running php websites on 10yr old software, and all the un patched security implications that brings.

    Anyway, try the latest version and you should be fine.

    What php version do you suggest, that will work well with wordpress and plugins? Will the latest version come with any problems?

    Also, if I upgrade my php, can I put the backup I made of wp-simple-firewall back in the plugins folder, so I don’t have to start over with the settings?

    Thanks!
    Lisa

    Thread Starter micksim

    (@micksim)

    Thanks Paul.

    I’ll find out if the host can upgrade the PHP version to 5.3 or higher then.

    Thanks again for your support and excellent plugin.

    ___________________

    Lisa: using an older version of the plugin will make your WP vulnerable to the ever increasing more up-to-date attacks and exploits. It’s probably not a good idea. All the best.

    Thread Starter micksim

    (@micksim)

    The release 4.10.3 of the plugin works btw 🙂

    Thanks Paul

    Plugin Author Paul

    (@paultgoodchild)

    @lisa just putting the plugin back in its place and reactivating it will retain your previous setting, but I would recommend just downloading and installing it fresh from WordPress.org to ensure you have the latest version without the error.

    As to which php version, yes, anything 5.3+. I’d try and shoot for as high as you can. Try and run a test site of your plugins and themes to ensure they’re working with your php version as some of them could be old and generate some php notices with old style code.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Parse error: syntax error, unexpected…ips.php’ is closed to new replies.