Title: Parse error: syntax error, unexpected&#8230;ips.php
Last modified: August 30, 2016

---

# Parse error: syntax error, unexpected…ips.php

 *  Resolved [micksim](https://wordpress.org/support/users/micksim/)
 * (@micksim)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpectedipsphp/)
 * 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/](https://wordpress.org/plugins/wp-simple-firewall/)

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

 *  [nergizing](https://wordpress.org/support/users/nergizing/)
 * (@nergizing)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpectedipsphp/#post-6495821)
 * Same issue here. Deleted plugin through FileZilla and website is fine now.
 *  [DigiDoodlez](https://wordpress.org/support/users/digidoodlez/)
 * (@digidoodlez)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpectedipsphp/#post-6495850)
 * 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](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpectedipsphp/#post-6495857)
 * 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.
 *  [DigiDoodlez](https://wordpress.org/support/users/digidoodlez/)
 * (@digidoodlez)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpectedipsphp/#post-6495858)
 * 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](https://wordpress.org/support/users/micksim/)
 * (@micksim)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpectedipsphp/#post-6495877)
 * 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](https://wordpress.org/support/users/micksim/)
 * (@micksim)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpectedipsphp/#post-6495882)
 * The release 4.10.3 of the plugin works btw 🙂
 * Thanks Paul
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpectedipsphp/#post-6495889)
 * [@lisa](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/wp-simple-firewall/assets/icon-256x256.png?rev=3054572)
 * [Shield: Blocks Bots, Protects Users, and Prevents Security Breaches](https://wordpress.org/plugins/wp-simple-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-simple-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-simple-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-simple-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-simple-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-simple-firewall/reviews/)

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * 7 replies
 * 4 participants
 * Last reply from: [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpectedipsphp/#post-6495889)
 * Status: resolved