• Register
Welcome to QStacks.com - World's largest growing Questions & Answers community.

788 questions

1,070 answers

343 comments

538 users

Top Users 05/2013
  1. Ashish

    1520 Points

  2. Vijay

    360 Points

  3. Ramesh

    300 Points

  4. Rodurf

    150 Points

Rewards - User of the Month
1st Prize: $200 USD
2nd Prize: $100 USD

Parse error: syntax error, unexpected T_FUNCTION in /wp-content/plugins/thank-me-later/Message.php on line 505 error

0 votes

I am getting this error in my WordPress website after opening my site.

Parse error: syntax error, unexpected T_FUNCTION in /home/users198/public_html/mywebsite.com/wp-content/plugins/thank-me-later/Message.php on line 505

This problem came after I updated the WordPress plugin. How to recover my website/blog?

asked Jan 14 in Web Designing & Programming by anonymous  
  

2 Answers

+1 vote

As the error suggests, it is a problem related to thank me later WordPress Plugin. I guess, you have updated the Thank Me Later plugin and since the problem occurs.

For the time being, you need to deactivate this plugin and I guess you are not able to login to your dashboard also. So, login to your CPanel first and go to wp-content/plugins page and compress the Thank me later plugin files. After this, delete the original Thank me later file.

Now try to go to your website/wp-admin/plugins page. It will open now. Go to cpanel again and extract the compressed Thankmelater plugin files and delete the compressed one. Now refresh the Wordpress admin/plugins dashboard. You will find your Thank me later plugin but it wil be deactivated.

Don't activate it now, wait for the next update from the plugin author.

answered Jan 14 by pythonskynet (6,300 points)   2 13 33
0 votes

Revert back the plugin to older version: Go to this page: http://wordpress.org/extend/plugins/thank-me-later/developers/

Download the previous versrion of plugin file and upload into your wordpress plugin directory. It will work!

answered Jan 17 by Ramz (24,300 points)   11 24 80

site design / logo copyright © 2013 - qstacks.com; user contributions licensed under Creative Commons License with attribution required.
...