White Screen or error 500 with Wordpress

Start by disableing all WP plugins.

You can do this in cPanel's File Manager. simply go to /wp-content and rename the plugins folder to something like plugins-bak.

Now, when you revisit the site you shold see a new error. Something like this:


Warning: require_once(/home4/kerrya/public_html/wp-includes/widgets/class-wp-widget-links.php): failed to open stream: No such file or directory in /home4/kerrya/public_html/wp-includes/default-widgets.php on line 14

Fatal error: require_once(): Failed opening required '/home4/kerrya/public_html/wp-includes/widgets/class-wp-widget-links.php' (include_path='.:/opt/php54/lib/php') in/home4/kerrya/public_html/wp-includes/default-widgets.php on line 14

The exact filenames maybe different, but the main problem in this case is the file: /public_html/wp-includes/widgets/class-wp-widget-links.php has been infected by a hack and has probaboly been renamed to something like : /public_html/wp-includes/widgets/class-wp-widget-links.php-suspected.

To fix this, replace that file with a new copy from a clean WP installation.



  • 16 Users Found This Useful
Was this answer helpful?

Related Articles

Image gallery will not show images in slideshow mode

When adding a new image gallery in WP, you may not be able to use images already uploaded to the...

Accessing Wordpress before the Domain Name Resolves

When transferring your WordPress installation to Global Star Websites you may need to use the...

Moving WordPress

Moving WordPress There are times when you need to move WordPress around within your server, and...

Change WP Password in phpMYadmin

http://wpcrux.com/change-wordpress-password-phpmyadmin/   Change / Reset...

Cannot send mail with Contact Form 7 in Wordpress

Mail servers require authentication before sending email to avoid spam.For this reason...

Powered by WHMCompleteSolution