WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'

[Resolved] Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'

  • This morning I received the following error on my website

    My head.php contains
    From Line 18 to 24

    [ redacted, those iframes were hacks ]

    I can’t see the error on line 22.
    can someone help

Viewing 1 replies (of 1 total)
  • Moderator Jan Dembowski

    @jdembowski

    Brute Squad and Volunteer Moderator

    That looks particularly “Not Good™” Where did you get that theme?

    If that came with the theme then I suggest you lose the whole theme quickly. If that did not come with the theme then you’re probably hacked.

    Edit: Yep, those links were E-V-I-L and I’ve deleted the code section above. Honestly, if that did come from your theme then you want to lose that like a bad infection and look at delousing your site.

    Give Chip’s often quoted post a good read.

    http://www.chipbennett.net/2010/12/10/only-download-wordpress-themes-from-trusted-sources/

    It’s tempting to get “premium” commercial themes for free but it is never ever worth it. The people who are spreading them are out to hack your WordPress installation and/or your PC.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'’ is closed to new replies.
Skip to toolbar