Support » Themes and Templates » Line is automatically added to header.php, crashing the site

  • Hi all
    My site suddenly crashed and it seems to be a very weird problem. A line of code is somehow automatically added to the header.php file.

    <?php /* 15pJQhrPh3XJCUOiaQCa61 */ ?><?php /* 1uqjsQSyWVhmOHAEVa1i61 */ ?>

    I tried turning off all automatic updates, but still, the header.php change shows up in my activity log (plugin). What causes this problem?

    Thank you for your help
    Best regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    It’s a little late reply wise but give this a read and carefully follow this guide.

    When you’re done, you may want to implement some (if not all) of the recommended security measures.

    i have the same problem too. <?php /* 15pJQhrPh3XJCUOiaQCa61 */ ?><?php /* 1uqjsQSyWVhmOHAEVa1i61 */ ?> i dont know whick part should i delete this malware

    Dear All,

    I have been seeing this thing getting added in the headers in my website too, My wordfence alerted that some one was logging in from an admin account and adding those lines. I removed all admin accounts and changed the password of my admin account, This has solved the problem for now.

    Take these steps immediately:
    1) Install wordfence
    2) Scan the entire site
    3) Remove all admin accounts except yours
    4) change your password
    5) change your username from default admin to something random

    Hope this helps, will update here if the problem re-occurs

    Dear Folks,

    Here is some more details on this. Looks like my site admin id and password was brute forced and then a module was installed which helped inject the malicious codes.

    More here:

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Line is automatically added to header.php, crashing the site’ is closed to new replies.