Title: syntax error with &quot; Share This&quot; plugin
Last modified: August 21, 2016

---

# syntax error with " Share This" plugin

 *  [G Hinson White](https://wordpress.org/support/users/g-hinson-white/)
 * (@g-hinson-white)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-with-share-this-plugin/)
 * I just updated the “Share This” pluging and now I get the following error code
   when I attempt to access my site.
 * Parse error: syntax error, unexpected T_DNUMBER in /home/cbcrockv/public_html/
   wp-content/plugins/share-this/sharethis.php on line 32
 * I went into the cPanel and according the code edit screen, line 32 has the following:
   
   $_stversion=7.0.1;
 * This is our church’s website and it’s down until I figure this out. I can’t even
   get in to disable the plugin.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-with-share-this-plugin/#post-3935806)
 * [FTP](http://codex.wordpress.org/FTP_Clients) into your site (or whatever file
   management application your host provides) & delete the wp-content/plugins/share-
   this folder.
 *  [ned4spd8874](https://wordpress.org/support/users/ned4spd8874/)
 * (@ned4spd8874)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-with-share-this-plugin/#post-3935859)
 * Yep, something is wrong with the update. As esmi said, FTP and delete or rename
   the plugin. But don’t try to install it again. I tried and got the same error
   again.
 * Thank God I have a testing site!!!
 *  [petsoukos](https://wordpress.org/support/users/petsoukos/)
 * (@petsoukos)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-with-share-this-plugin/#post-3935875)
 * Looks like they forgot to enclose the plugin version string in quotes at line
   32…
 * Simply add single or double quotes around the plugin version for a quick fix.
 * Hope this helps!
 * Edit:
    This –> $_stversion=7.0.1;
 * Should be like this –> $_stversion=’7.0.1′; or $_stversion=”7.0.1″;
 *  Thread Starter [G Hinson White](https://wordpress.org/support/users/g-hinson-white/)
 * (@g-hinson-white)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-with-share-this-plugin/#post-3935923)
 * Hey guys; thanks so much for the prompt responses. I put quotes around the version
   number but then I got an error for line 34 so I just deleted the plugin folder.
   Problem solved.
 * Thanks again.
 *  [petsoukos](https://wordpress.org/support/users/petsoukos/)
 * (@petsoukos)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-with-share-this-plugin/#post-3935929)
 * Well I inspected the rest of the code following line 32 and didn’t find anything
   problematic. I upgraded the plugin to the same version as yours and got the same
   issue, but I recognized the problem immediately since I’m a PHP developer. If
   deleting the plugin fixed your issue that’s ok. Just wait for a newer version
   and retry or find an older one.
 * P.S.
    If you wan’t to give it a try once more…
 * Please make sure:
    you kept the variable name as $_stversion, you kept the = 
   sign after that. have wrapped the version number in single or double quotes (
   don’t mix single with doubles) and finished the line with the semicolon symbol;
 * $_stversion=’7.0.1′;
 * or
 * $_stversion=”7.0.1″;
 * Also don’t copy-paste from this thread it might include extra characters from
   formatting etc. Do it manually!
 * 😉
 *  [rjmcleod](https://wordpress.org/support/users/rjmcleod/)
 * (@rjmcleod)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-with-share-this-plugin/#post-3935962)
 * Worked for me, thanks!!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘syntax error with " Share This" plugin’ is closed to new replies.

 * 6 replies
 * 5 participants
 * Last reply from: [rjmcleod](https://wordpress.org/support/users/rjmcleod/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-with-share-this-plugin/#post-3935962)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
