Support » Fixing WordPress » Cannot Declare errors in wp-config

  • Resolved indyadmin1974


    So I seem to be a victim of a rather annoying hacker.

    I have a site hosted by and was initially using Joomla. I kept getting strange errors no matter what I did to harden my site. So I have my wife’s blog on the same hosting provider and she is using WordPress with no issues.

    I decided to just go to WordPress since I’m familiar with it and really enjoy working with it.

    Things were looking good yesterday, but literally 5 minutes ago, I got the following error when going to the main page on the site. I cannot get into wp-admin either.

    Fatal error: Cannot redeclare sohi() (previously declared in /home/content/i/n/d/indyadmin1974/html/wp-config.php(1) : eval()’d code:1) in /home/content/i/n/d/indyadmin1974/html/wp-includes/functions.php(1) : eval()’d code on line 1

    I was in the process of researching how to harden WordPress and this happened. Oh the irony.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot Declare errors in wp-config’ is closed to new replies.