Two days back I upgraded Thank Me Later Plugin in Techpraveen.com (Running in WordPress Platform) and got the following error,
“Parse error: syntax error, unexpected T_FUNCTION in /home/techpraveen.com/wp-content/plugin/thank-me-later/Message.php on line 505.”
Reason Behind This Error:
Thank Me Later plugin will require PHP 5.3 or above, as closures are not available in previous versions of PHP.
WordPress should have automatically disabled the plugin for you. If you can install the latest version of PHP, the plugin should work. or else try the easy method shown below.
After 2 days of trying various solutions finally the following thing helped me to fix the issue.
- Login to your FTP account.
- Navigate to /wp-content/plugins
- Just Rename thank-me-later folder to thank or any other word as shown below.
- Save changes.
Now check your site. It will be fixed.