WordPress.org

Forums

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

  1. nkiw
    Member
    Posted 2 years 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 2 years ago #

  3. LeaParis
    Member
    Posted 2 years ago #

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

  4. hreekie
    Member
    Posted 2 years 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 2 years ago #

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

  6. hreekie
    Member
    Posted 2 years ago #

    Many thanks to ClaytonL!

  7. mikepoynton
    Member
    Posted 2 years ago #

    Thanks, ClaytonL. That worked!

  8. High Aspirations, Inc.
    Member
    Posted 2 years ago #

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

  9. fungwahbus
    Member
    Posted 2 years ago #

  10. rlweiner
    Member
    Posted 2 years ago #

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

  11. LeaParis
    Member
    Posted 2 years ago #

    Works for me too! Thanks ClaytonL!

  12. kevwaresf
    Member
    Posted 2 years ago #

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

  13. ronsharethis
    Member
    Posted 2 years 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 2 years ago #

    Do we need the update for any specific issue?

  15. ronsharethis
    Member
    Posted 2 years 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 2 years ago #

    7.0.2 worked. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • ShareThis: Share Buttons and Social Analytics
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic