Title: Error in automatic update
Last modified: August 18, 2016

---

# Error in automatic update

 *  [kyris](https://wordpress.org/support/users/kyris/)
 * (@kyris)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/error-in-automatic-update/)
 * Hi. I was trying to put in the code for automatic updates ([http://wiki.wordpress.org/AutomaticUpdate?PHPSESSID=aa58b3d8e599a6f64c5795d7b14457cd](http://wiki.wordpress.org/AutomaticUpdate?PHPSESSID=aa58b3d8e599a6f64c5795d7b14457cd))
   
   But when I upload the plugin.php file, I get this error Parse error: parse error,
   unexpected ‘;’ I checked the line and it refers to the very beginning of the 
   code // BEGIN PLUGIN UPDATE ADD-ON if ( preg_match(“|Update:(.*)|i”, $plugin_data,
   $update) ) { Can anyone help me?

Viewing 1 replies (of 1 total)

 *  Thread Starter [kyris](https://wordpress.org/support/users/kyris/)
 * (@kyris)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/error-in-automatic-update/#post-103568)
 * Oops, nevermind. I just found another updating plugin that looks much easier 
   to use.

Viewing 1 replies (of 1 total)

The topic ‘Error in automatic update’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [kyris](https://wordpress.org/support/users/kyris/)
 * Last activity: [21 years, 7 months ago](https://wordpress.org/support/topic/error-in-automatic-update/#post-103568)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
