• The Wordfence plugin notified me that some files needed deleted since I had been hacked. I clicked away and deleted (I know, always backup) because I trusted Wordfence’s advice more than I did my ability to backup/restore. Now this is what I get when I pull up my site. Any ideas how to get back to normal?

    Warning: require(/home/content/74/8901274/html/wp-includes/option.php) [function.require]: failed to open stream: No such file or directory in /home/content/74/8901274/html/wp-includes/functions.php on line 8

    Fatal error: require() [function.require]: Failed opening required ‘/home/content/74/8901274/html/wp-includes/option.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/74/8901274/html/wp-includes/functions.php on line 8

Viewing 3 replies - 1 through 3 (of 3 total)
  • I would download a fresh copy of WP to your computer, and then delete and replace the wp-includes directory on your server.

    You can use an FTP client (like FileZilla), or your web-host’s cPanel or file manager to do this. File manager is easiest if this is new to you.

    Thread Starter sparkyb99

    (@sparkyb99)

    Thanks Bill. That was easy. Now I get this message. I don’t want to do the same thing with the wp-content folder now, do I?

    Warning: include(widget_class.php) [function.include]: failed to open stream: No such file or directory in /home/content/74/8901274/html/wp-content/plugins/wp125/wp125.php on line 19

    Warning: include() [function.include]: Failed opening ‘widget_class.php’ for inclusion (include_path=’.:/usr/local/php5/lib/php’) in /home/content/74/8901274/html/wp-content/plugins/wp125/wp125.php on line 19

    Fatal error: Class ‘WP125_Widget’ not found in /home/content/74/8901274/html/wp-includes/widgets.php on line 591

    No you don’t want to replace that folder. It holds your theme(s), plugins, and uploads (images). Those messages are referring to the WP125 plugin. I would try disabling that plugin to see if it clears up. If it does, upload a fresh copy of it to wp-content/plugins/.

    If you still can’t access your admin pages, you’ll again need to use an FTP client or your host’s cpanel (or File Manager) as above.

    In your WP installation there, find wp-content/plugins/wp125 and rename that plugin’s folder to something like wp125-hold. That will disable it and hopefully allow you to get back into WP admin.

    If that doesn’t fix things, compare the WP core files and folders on the server to a fresh copy of WP. Look for any files that may be missing on the server due to your previous deletions.

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

The topic ‘wp-includes folder Fatal Error’ is closed to new replies.