Title: public $name; Causing problem in plugin
Last modified: August 20, 2016

---

# public $name; Causing problem in plugin

 *  [ajstocco](https://wordpress.org/support/users/ajstocco/)
 * (@ajstocco)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/public-name-causing-problem-in-plugin/)
 * A plugin is giving this error:
 * Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION
   or T_VAR or ‘}’ in /html/wp-content/plugins/wp-simple-popup/simple-popup.php 
   on line 21
 * The code on line 21 is: public $name;
 * anyone know how to fix this?

The topic ‘public $name; Causing problem in plugin’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [ajstocco](https://wordpress.org/support/users/ajstocco/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/public-name-causing-problem-in-plugin/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
