Title: syntax error, unexpected &#039;{&#039; in installer.php
Last modified: August 21, 2016

---

# syntax error, unexpected '{' in installer.php

 *  Resolved [Flash Buddy](https://wordpress.org/support/users/flashbuddy/)
 * (@flashbuddy)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-in-installerphp/)
 * Duplicator ver. 0.5.4
 * Package created using Desktop Server (local machine)
 * Upload to live server and run installer.php
 * Error: Parse error: syntax error, unexpected ‘{‘ in /home/wpsecur/public_html/
   alamo/installer.php on line 338
 * How is that even possible?
 * [https://wordpress.org/plugins/duplicator/](https://wordpress.org/plugins/duplicator/)

Viewing 4 replies - 16 through 19 (of 19 total)

[←](https://wordpress.org/support/topic/syntax-error-unexpected-in-installerphp/?output_format=md)
[1](https://wordpress.org/support/topic/syntax-error-unexpected-in-installerphp/?output_format=md)
2

 *  [sandras21](https://wordpress.org/support/users/sandras21/)
 * (@sandras21)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-in-installerphp/page/2/#post-4983273)
 * Hey, I have similar problem. First downloaded duplicator package from wp admin
   to my computer and uploaded with filezilla to ftp. Got an error “Parse error:
   syntax error, unexpected… ” I tried also to move installer file from xampp`s 
   wp-snapshot directory stright to ftp, still same error. what should i do? Thanks!
 *  Thread Starter [Flash Buddy](https://wordpress.org/support/users/flashbuddy/)
 * (@flashbuddy)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-in-installerphp/page/2/#post-4983274)
 * Installer.php was being written in a corrupt way. My solution to this is to grab
   the installer.php from the wp-snapshots directory, copy and paste its contents
   to the installer.php that you downloaded. The installer.php in the wp-snapshots
   directory will be prefaced with 8_28_14_avenueinnslo_53ff60f0625d21231140828170344_installer.
   php – in my case. Yours will be specific to your date and site.
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-in-installerphp/page/2/#post-4983277)
 * Thanks for that tip [@flash](https://wordpress.org/support/users/flash/) buddy…
 *  [sandras21](https://wordpress.org/support/users/sandras21/)
 * (@sandras21)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-in-installerphp/page/2/#post-4983278)
 * Thanks for information!

Viewing 4 replies - 16 through 19 (of 19 total)

[←](https://wordpress.org/support/topic/syntax-error-unexpected-in-installerphp/?output_format=md)
[1](https://wordpress.org/support/topic/syntax-error-unexpected-in-installerphp/?output_format=md)
2

The topic ‘syntax error, unexpected '{' in installer.php’ is closed to new replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

## Tags

 * [installer.php](https://wordpress.org/support/topic-tag/installer-php/)

 * 19 replies
 * 3 participants
 * Last reply from: [sandras21](https://wordpress.org/support/users/sandras21/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-in-installerphp/page/2/#post-4983278)
 * Status: resolved