WordPress.org

Ready to get started?Download WordPress

Forums

Plugin.php issues after hack attack recovery (4 posts)

  1. Saqib Khan
    Member
    Posted 2 years ago #

    My website 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.

  2. adpawl
    Member
    Posted 2 years ago #

    delete wp-admin and wp-includes folder, next upload fresh copy of them from oryginal wp package. Replace all wp files in your blog root directory.
    All plugins should be also replaced.

    If this does not help, reset plugins and replace theme to rwenty eleven.

    Finally, check all not overwritten files, upgrade wp to the latest version and secure it.

  3. Saqib Khan
    Member
    Posted 2 years ago #

    Thank you for your help.

    I will try these suggestions and let you know which one worked for me.

  4. kmessinger
    Volunteer Moderator
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic