just yesterday noticed the following notice at the bottom on one of my subdomain websites:
“Fatal error: Cannot redeclare _765258526() (previously declared in /home/aimaeaco/public_html/leda/wp-content/themes/Leda/footer.php(76) : eval()’d code:1) in /home/aimaeaco/public_html/leda/index.php(18) : eval()’d code on line 1”
after this I’ve checked all my websites (domain & sub-domains) and each and every contains the same notice, only the directories differ.
sub-domain where I noticed: http://leda.aimaea.com (running WP 3.2.1 and no events calendar of any sort).
though I haven’t noticed any change in the websites’ functionality, it is pretty annoying to have “Fatal error” text at the very bottom of each website.
I would appreciate Your help.
many, many thanks in advance.
I too have the same problem on all my WordPress sites.
I have the same message…
Fatal error: Cannot redeclare _765258526() (previously declared in…
…at the bottom of all my sites. They are all hosted together.
Any ideas/help much appreciated.
Guys. I had this problem this morning. I think it stemmed from the fact that my site was hacked over the last couple of days which led to a malware warning on some of my pages from Google. I searched for the solution to the hack, which I fixed last night. It involved deleting some files and some malicious code inside some WP files. Anyway, I cleaned it all up last night and thought I had left it perfect.
However, this morning I noticed the Fatal error: Cannot redeclare _765258526() error at the bottom of the screen.
Firstly, my index.php file had some malicious code at the bottom which I hadn’t seen – I deleted that but it didn’t fix the problem. I looked in footer.php but couldn’t see anything wrong with it. However, I restored it from a backup and it fixed the problem.
So, it’s something to do with footer.php but I don’t know exactly what. If you have a backup, restore that file. If not, perhaps someone with some more knowledge could comb through and find out what’s causing it.
I also strongly recommend you to check around your site(s) and make sure they havn’t been hacked. This hack affected all my sites (WordPress and otherwise) on my hosting account (Dreamhost) – in that all the index files were infected with malicious code.
Thanks @saynototheoffice I’ve just checked an index.php file on one of my sites and it had horrid… <?php eval(gzuncompress …. code at the bottom of it.
I then checked other WordPress sites I manage and the same code appeared. This is the first time I’ve been hacked and don’t know what to do, so appreciate you reply.
I’ve contacted my hosting company as it looks like it all happened yesterday at 4pm as the index.php files have all been modified at that time.
Does anyone know a solution? WordPress Gurus?
That’s exactly what happened to me. Looks like you’ve been hit by the same hack. Are you on Dreamhost? Did you get a load of hits from a bot in Russia last week? The solution I followed was from this page:
In addition, I had to clean that horrible code out of all the index.php files of each site on my account. That solved the malware issue. Finally, I replaced the footer.php file as described above and that got rid of the warning at the bottom of the page.
My first hack too. Hope whoever does this falls under a bus.
well, I got help from my ISP and yes, I was hacked too, mainly due to my very weak ISP profile/account password. I’ve strenghtened it.
the follwoing code was embeded into some crucial files of wordpress:
pretty long crap. I’ve found it in the following files:
/home/aimaeaco/public_html/leda/wp-includes/theme-compat/footer.php: Suspicious(base64_decode): ncompress(base64_decode(‘eF6VlMmy
/home/aimaeaco/public_html/leda/wp-content/themes/index.php: Suspicious(base64_decode): ncompress(base64_decode(‘eF6VlMmy
/home/aimaeaco/public_html/leda/wp-content/themes/twentyeleven/footer.php: Suspicious(base64_decode): ncompress(base64_decode(‘eF6VlMmy
/home/aimaeaco/public_html/leda/wp-content/themes/duotive-three/index.php: Suspicious(base64_decode): ncompress(base64_decode(‘eF6VlMmy
/home/aimaeaco/public_html/leda/wp-content/themes/beback/index.php: Suspicious(base64_decode): ncompress(base64_decode(‘eF6VlMmy
/home/aimaeaco/public_html/leda/wp-content/themes/twentyten/index.php: Suspicious(base64_decode): ncompress(base64_decode(‘eF6VlMmy
/home/aimaeaco/public_html/leda/wp-content/index.php: Suspicious(base64_decode): ncompress(base64_decode(‘eF6VlMmy
/home/aimaeaco/public_html/leda/wp-content/plugins/wordpress-popular-posts/index.php: Suspicious(base64_decode): ncompress(base64_decode(‘eF6VlMmy
/home/aimaeaco/public_html/leda/wp-content/plugins/index.php: Suspicious(base64_decode): ncompress(base64_decode(‘eF6VlMmy
/home/aimaeaco/public_html/leda/wp-content/plugins/sexybookmarks/js/index.php: Suspicious(base64_decode): ncompress(base64_decode(‘eF6VlMmy
/home/aimaeaco/public_html/leda/wp-content/plugins/sexybookmarks/includes/index.php: Suspicious(base64_decode): ncompress(base64_decode(‘eF6VlMmy
/home/aimaeaco/public_html/leda/wp-content/uploads/shareaholic/spritegen/index.php: Suspicious(base64_decode): ncompress(base64_decode(‘eF6VlMmy
/home/aimaeaco/public_html/leda/wp-content/uploads/shareaholic/index.php: Suspicious(base64_decode): ncompress(base64_decode(‘eF6VlMmy
/home/aimaeaco/public_html/leda/wp-admin/user/index.php: Suspicious(base64_decode): ncompress(base64_decode(‘eF6VlMmy
what I did was, that I removed that malicious php line from the listed files. also, I’ve downloaded some security plugins for my websites.
here is a nice collection: http://www.dailytechpost.com/index.php/11-best-wordpress-security-plugins/
Some info on how to deal with a hacked site:
@keesiemeijer: thanks for the security links.
has anyobody fixed the site yet? please share the experience.
I’ve been in touch with my hosting company who have been no help whatsoever.
I’m going through the steps..
I’ve downloaded ClamXav to scan my computer as suggested on a few other links.
Nothing fixed yet!
@iramaura Yes – I managed to fix my site – look at my post above.
@saynototheoffice: I meant the other two guys who had the same issue. as a matter of fact, I’ve had a russian bot attack, but no attention I payed.
@mattwhyatt: my ISP reacted immediately, I was slow. maybe consider migrating to another.
I’m still in learning phase, so I’ll pay more attention to security – bit glad this issue occurred.
thanks for Your assistance.
OK – I just spent some more time cleaning this up and used this script to detect malicious code:
What I found was that this attack basically inserts the code into any file called ‘index’ on the hosting account – of which there are quite a few.
@saynototheoffice: That’s a great link to the script detector. Many thanks. My hosting have come back and said that they are 99.9% secure and the attack happened through one of my sites. That’s it. No helping but happy to take my money.
I’ve got some code removing to be doing.
Thanks everyone for their help.
- The topic ‘Fatal error: Cannot redeclare _765258526()’ is closed to new replies.