WordPress.org

Ready to get started?Download WordPress

Forums

ShareThis: Share Buttons and Social Analytics
[resolved] Parse Error Upon Update (16 posts)

  1. nkiw
    Member
    Posted 11 months ago #

    Recently updated ShareThis plugin to 7.0.1 and the plugin deactivated. I received this fatal error message:

    Parse error: syntax error, unexpected T_DNUMBER in /home/..../public_html/wp-content/plugins/share-this/sharethis.php on line 32

    The code for sharethis.php is below. I know very little about php, so I can't tell what's wrong with line 32 and what needs to be fixed. Any input would be appreciated:

    [Way too much code to post here - please see the forum rules re: posting code and use a pastebin - http://codex.wordpress.org/Forum_Welcome#Posting_Code ]

  2. michaelisc
    Member
    Posted 11 months ago #

  3. LeaParis
    Member
    Posted 11 months ago #

    I have the same exact problem! I uninstalled the extension and reinstalled it but it still doesn't work...

  4. hreekie
    Member
    Posted 11 months ago #

    I got the same:

    Parse error: syntax error, unexpected T_DNUMBER in /home/cbsinc/public_html/wp-content/plugins/share-this/sharethis.php on line 32

    Had to deactivate the plugin or my site would not open at all...

  5. ClaytonL
    Member
    Posted 11 months ago #

    I ftp'd into our site and changed that line to $_stversion=7.0;. That fixed it for us.

  6. hreekie
    Member
    Posted 11 months ago #

    Many thanks to ClaytonL!

  7. mikepoynton
    Member
    Posted 11 months ago #

    Thanks, ClaytonL. That worked!

  8. High Aspirations, Inc.
    Member
    Posted 11 months ago #

    Same error here. Went back to the previous version until it gets fixed.

  9. fungwahbus
    Member
    Posted 11 months ago #

  10. rlweiner
    Member
    Posted 11 months ago #

    Same problem as above. ClaytonL's solution worked. Thanks!

  11. LeaParis
    Member
    Posted 11 months ago #

    Works for me too! Thanks ClaytonL!

  12. kevwaresf
    Member
    Posted 11 months ago #

    Thanks. The fix of that line worked for me too.

  13. ronsharethis
    Member
    Posted 11 months ago #

    Hello WP community,

    Apologies for the inconvenience. We went ahead and issued a new release (v. 7.0.2). This is up now. This release should resolve the issue.

    We really appreciate the quick feedback. Thanks again for your patience and for using ShareThis!

  14. kevwaresf
    Member
    Posted 11 months ago #

    Do we need the update for any specific issue?

  15. ronsharethis
    Member
    Posted 11 months ago #

    Hi kevwaresf,

    7.0 has an update for a new UI, which allows you add new ShareThis tools you otherwise wouldn't be able to before.

    For 7.0, the best update to get is 7.0.2. This had UI fixes for Internet Explorer.

    Hope that helps!

  16. rlweiner
    Member
    Posted 11 months ago #

    7.0.2 worked. Thanks.

Reply

You must log in to post.

About this Plugin

About this Topic