WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Yesterday my wordpress site "http://planetofcoders.com", Hacked by someone Bangladeshi hacker. After that I did delete all site and database data. I have my site and database backup as on 09-Nov-2012. I did restore all site data and database backup on server. But after restoring all data my site doesn't work properly. I want to know that what is the process to restore my site data and database backup on your server?

How to prevent my site from hackers?

When i enable debug in wordpress in that case it gives me this error i.e.

Notice: register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.) in /home/planetof/public_html/wp-includes/functions.php on line 2758

Notice: Constant HMBKP_REQUIRED_WP_VERSION already defined in /home/planetof/public_html/wp-content/plugins/wp-database-optimizer-tools/wp-database-optimizer-tools.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/planetof/public_html/wp-includes/functions.php:2758) in /home/planetof/public_html/wp-includes/pluggable.php on line 881
share|improve this question

closed as too localized by brasofilo, s_ha_dum, toscho Apr 6 '13 at 14:31

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

when i am opening wp admin panel or site it seems nothing and didn't give me any error message. – Gaurav Agrawal Nov 19 '12 at 7:53
Enable debug mode and add the errors you get to the question. Then we can help better. – toscho Nov 19 '12 at 7:56
ok fine I will check this.... – Gaurav Agrawal Nov 19 '12 at 7:57
@toscho: i have mentioned my error into my question... How to solve this??? – Gaurav Agrawal Nov 19 '12 at 14:43
At least one, and probably two, maybe three, of those errors are plugin related. Rename your wp-contents/plugins folder. That should disable them. See if that helps. – s_ha_dum Nov 19 '12 at 15:48