Title: Parse Error with Sociable 3 plugin &#8211; using original sociable code
Last modified: August 20, 2016

---

# Parse Error with Sociable 3 plugin – using original sociable code

 *  Resolved [BriannaThielen](https://wordpress.org/support/users/briannathielen/)
 * (@briannathielen)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/parse-error-with-sociable-3-plugin-using-original-sociable-code/)
 * I was attempting to alter the mailto code in the email section of the file services.
   php in Sociable for WP 3.0. I changed the code from:
 *     ```
       'email' => array(
       			'favicon' => 'email_link.png',
       			'url' => 'mailto:?subject=TITLE&body=PERMALINK',
       			'spriteCoordinates' => array(325,1)
       		),
       ```
   
 * to:
 *     ```
       'email' => array(
       			'favicon' => 'email_link.png',
       			'url' => /* OLD LINE 'mailto:?subject=TITLE&body=PERMALINK',*/ 'mailto:?subject=<?php the_title(); ?> (from JavaReports.info)&body=<?php echo "To view this article from JavaReports.info, visit ", the_permalink(); ?>'
       			'spriteCoordinates' => array(325,1)
       		),
       ```
   
 * making sure I kept the original code commented so I could revert to the original
   version if needed.
 * After updating the file (services.php), i got the error “
    Parse error: syntax
   error, unexpected T_STRING, expecting ‘)’ in /home7/bhwrtwoc/public_html/javareports.
   info/wp-content/plugins/sociable-30/services.php on line 119″ (line 119 is the
   line with the mailto tag).
 * I then deleted the added code to revert to the original version:
 *     ```
       'email' => array(
       			'favicon' => 'email_link.png',
       			'url' => 'mailto:?subject=TITLE&body=PERMALINK',
       			'spriteCoordinates' => array(325,1)
       		),
       ```
   
 * The problem is, I still get the error “
    Parse error: syntax error, unexpected
   T_STRING, expecting ‘)’ in /home7/bhwrtwoc/public_html/javareports.info/wp-content/
   plugins/sociable-30/services.php on line 119″ on EVERY page, including my dashboard.
 * I’ve tried deleting all code out of the file, deleting the email section, i even
   downloaded the plugin from the plugin website, copied services.php, and pasted
   into my editor (that is the only page I have access to because of the back button).
   NOTHING has worked.
 * Is there a way to fix this? or do I need to restore my site from a backup?
 * Here is the full code for services.php –
    Original: [http://pastebin.com/eEMP1jTi](http://pastebin.com/eEMP1jTi)
   My first edited version: [http://pastebin.com/PgL5mwYh](http://pastebin.com/PgL5mwYh)

Viewing 1 replies (of 1 total)

 *  Thread Starter [BriannaThielen](https://wordpress.org/support/users/briannathielen/)
 * (@briannathielen)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/parse-error-with-sociable-3-plugin-using-original-sociable-code/#post-2234420)
 * Resolved

Viewing 1 replies (of 1 total)

The topic ‘Parse Error with Sociable 3 plugin – using original sociable code’ is
closed to new replies.

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)
 * [T_STRING](https://wordpress.org/support/topic-tag/t_string/)

 * 1 reply
 * 1 participant
 * Last reply from: [BriannaThielen](https://wordpress.org/support/users/briannathielen/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/parse-error-with-sociable-3-plugin-using-original-sociable-code/#post-2234420)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
