Title: Edited plugin &gt; Parse error
Last modified: August 21, 2016

---

# Edited plugin > Parse error

 *  [Vicp](https://wordpress.org/support/users/vicp/)
 * (@vicp)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/edited-plugin-parse-error/)
 * Hi everyone,
 * I’m new to WordPress. I applied a change to the plugin Candy Social Widget as
   suggested here: [http://wordpress.org/support/topic/plugin-candy-social-widget-open-links-in-new-window-or-tab](http://wordpress.org/support/topic/plugin-candy-social-widget-open-links-in-new-window-or-tab)
 * I must have done something wrong because now I get this error:
    Parse error: 
   syntax error, unexpected ‘foreach’ (T_FOREACH), expecting function (T_FUNCTION)
   in /home4/vicp/public_html/wp-content/plugins/candy-social-widget/includes/widget-
   functions.php on line 61
 * This is my web page: [http://homingwordstranslations.com/](http://homingwordstranslations.com/)
 * Can anyone help?
 * Thanks!!

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

 *  [kjodle](https://wordpress.org/support/users/kjodle/)
 * (@kjodle)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/edited-plugin-parse-error/#post-4806137)
 * You can always reinstall the plugin to get a fresh copy. It’s impossible to tell
   exactly where you made an error without your copying and pasting the code in 
   question here.
 *  Thread Starter [Vicp](https://wordpress.org/support/users/vicp/)
 * (@vicp)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/edited-plugin-parse-error/#post-4806146)
 * Hi, kjodle!
 * Thanks for the answer. I already solved the problem. In fact, the hosting did
   it. The page was gone and I couldn’t access it to delete the plugin, which was
   the first I tried to do.
 * Hope you have a good day!

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

The topic ‘Edited plugin > Parse error’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [Vicp](https://wordpress.org/support/users/vicp/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/edited-plugin-parse-error/#post-4806146)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
