Support » Fixing WordPress » Parse error: syntax error, unexpected T_VARIABLE in /functions.php on line 192

  • hes2013

    (@hes2013)


    Hi, I have, since this morning, the following error showing up on my website:

    Parse error: syntax error, unexpected T_VARIABLE in /home/content/xx/xxxxx/html/websites/xxxxxxxx/wp-includes/functions.php on line 192

    and this is the line of code in the php file:

    $mm = substr( $mysqlstring, 8, 2 ); // Mysql string Month

    Any one can help?

Viewing 15 replies - 16 through 30 (of 35 total)
  • esmi

    (@esmi)


    Forum Moderator


    @infiniteprospects: As per the Forum Welcome, please post your own topic. Posting in an existing topic prevents us from being able to track issues by topic. Added to which, your problem – despite any similarity in symptoms – is likely to be completely different.

    infiniteprospects

    (@infiniteprospects)


    esmi – not sure what you’re referencing – I started by thanking another commenter and letting them know their fix worked for me. It appears I was experiencing the same issue as the others in this post. Does that need its own topic?

    esmi

    (@esmi)


    Forum Moderator


    It is if you’re telling people it’s not a hack – when it absolutely, definitely, is.

    infiniteprospects

    (@infiniteprospects)


    OK – looks like it was a hack but this fix can at least allow people to get back into their admin panel… Sorry.

    esmi

    (@esmi)


    Forum Moderator


    No – you’re missing the point. Unless you completely de-louse your site, the hacker is likely to walk straight back in. Again and again and again. It is essential to take hacks seriously and take the time out to go through every one of the recommended steps. Quick fixes just won’t work for long. You need to start working your way through every one of these resources:
    http://codex.wordpress.org/FAQ_My_site_was_hacked
    http://wordpress.org/support/topic/268083#post-1065779
    http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/

    How to find a backdoor in a hacked WordPress

    infiniteprospects

    (@infiniteprospects)


    understood. However since I run a business full-time and don’t have the time, skills or patience to clean my own site, what do you suggest I do now that won’t cost me $$?

    esmi

    (@esmi)


    Forum Moderator


    If you can’t do the work yourself, the only other option is to shell out $$, I’m afraid. Securi offer a site cleaning service and, I think, also a pretty reasonably priced monitoring service that might be a good investment later on.

    Shan

    (@shan-last-shreds-of-sanity)


    [Post content deleted]

    infiniteprospects

    (@infiniteprospects)


    Define “comparatively cheap…” If you don’t want to make it public you can email me [moderated]

    Shan

    (@shan-last-shreds-of-sanity)


    It’s just one site, correct? If your biz site is on the same server/hosting, that could be infected as well.

    infiniteprospects

    (@infiniteprospects)


    2 sites, hosted at GoDaddy, under 1 hosting acct

    Shan

    (@shan-last-shreds-of-sanity)


    By the way, GoDaddy is the biggest part of your problem. They have notoriously bad security for their servers and will do nothing to help their cu7stomers. I highly encourage you to get a new host — one with good security and customer service.

    infiniteprospects

    (@infiniteprospects)


    Yes both sites are affected.

    esmi

    (@esmi)


    Forum Moderator


    @shan: Do not use these forums to solicit paid work. Such behaviour is strongly discouraged and may result in further action being taken.

    Shan

    (@shan-last-shreds-of-sanity)


    Ooops. So sorry. I wasn’t trying to break the rules. Can you delete my post then?

Viewing 15 replies - 16 through 30 (of 35 total)
  • The topic ‘Parse error: syntax error, unexpected T_VARIABLE in /functions.php on line 192’ is closed to new replies.