Title: Plugin.php issues after hack attack recovery
Last modified: August 20, 2016

---

# Plugin.php issues after hack attack recovery

 *  [saqib62](https://wordpress.org/support/users/saqib62/)
 * (@saqib62)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/pluginphp-issues-after-hack-attack-recovery/)
 * My website [http://www.restaurants-uncut.com/](http://www.restaurants-uncut.com/)
   was hacked on 3rd May by some Arab calling himself the Joker. His real name is
   probably Ziad because he created folders on my site with that name.
 * The hacker deleted wp-admin and wp-include folders and added a number of his 
   own files in addition to modifying index.php and .htaccess.
 * Although I’ve removed all the malicious code I could find and restored the wp-
   admin and wp-include folders from the back-up, the site is still unable to run
   and gives the following error:
 * **Warning: call_user_func_array() expects parameter 1 to be a valid callback,
   function ‘sanitize_comment_cookies’ not found or invalid function name in /home/
   restaura/public_html/wp-includes/plugin.php on line 395**
 * Warning: call_user_func_array() expects parameter 1 to be a valid callback, function‘
   _close_comments_for_old_posts’ not found or invalid function name in /home/restaura/
   public_html/wp-includes/plugin.php on line 220
 * I’ve tried to find the meaning of this error on this forum and elsewhere but 
   to no avail.
 * I would really appreciate it if someone could tell me what this means and what
   should I do next to completely restore my website.

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

 *  [Paweł Knapek](https://wordpress.org/support/users/adpawl/)
 * (@adpawl)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/pluginphp-issues-after-hack-attack-recovery/#post-2731757)
 * delete wp-admin and wp-includes folder, next upload fresh copy of them from oryginal
   [wp package](http://wordpress.org/wordpress-3.2.1.zip). Replace all wp files 
   in your blog root directory.
    All plugins should be also replaced.
 * If this does not help, [reset plugins](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   and replace theme to rwenty eleven.
 * Finally, check all not overwritten files, upgrade wp to the latest version and
   [secure it](http://codex.wordpress.org/Hardening_WordPress).
 *  Thread Starter [saqib62](https://wordpress.org/support/users/saqib62/)
 * (@saqib62)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/pluginphp-issues-after-hack-attack-recovery/#post-2731792)
 * Thank you for your help.
 * I will try these suggestions and let you know which one worked for me.
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/pluginphp-issues-after-hack-attack-recovery/#post-2731794)
 * Next you need to read and do all this, [http://codex.wordpress.org/FAQ_My_site_was_hacked](http://codex.wordpress.org/FAQ_My_site_was_hacked)
   
   [http://wordpress.org/support/topic/268083#post-1065779](http://wordpress.org/support/topic/268083#post-1065779)
   [http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/](http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/)
   [http://ottopress.com/2009/hacked-wordpress-backdoors/](http://ottopress.com/2009/hacked-wordpress-backdoors/)
 * [http://sitecheck.sucuri.net/scanner/](http://sitecheck.sucuri.net/scanner/)

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

The topic ‘Plugin.php issues after hack attack recovery’ is closed to new replies.

## Tags

 * [hacked](https://wordpress.org/support/topic-tag/hacked/)
 * [pluggable.php](https://wordpress.org/support/topic-tag/pluggable-php/)
 * [plugin.php](https://wordpress.org/support/topic-tag/plugin-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/pluginphp-issues-after-hack-attack-recovery/#post-2731794)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
