Title: Plugin Update Causing Parse Error
Last modified: June 28, 2019

---

# Plugin Update Causing Parse Error

 *  [dclauson](https://wordpress.org/support/users/dclauson/)
 * (@dclauson)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-update-causing-parse-error/)
 * When I updated the WP Statistics plugin, it created a Parse Error that has taken
   the website down. I get this error when I visit the site and the login page:
 * “Parse error: syntax error, unexpected T_STRING in /home/content/79/8691279/html/
   wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics.php on 
   line 415”
 * I have tried fixing via FTP but for whatever reason my access is being denied
   even though I have checked the login credentials for accuracy multiple times.
 * How can I fix this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-update-causing-parse-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Mehrshad Darzi](https://wordpress.org/support/users/mehrshaddarzi/)
 * (@mehrshaddarzi)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-update-causing-parse-error/#post-11691176)
 * Hi [@dclauson](https://wordpress.org/support/users/dclauson/)
    please check your‘
   wp-content/uploads’ folder permission and exist GeoIP Database in the same folder.
   then go to WP-Statistics Setting page -> Geoip Tab and click Update Database.

Viewing 1 replies (of 1 total)

The topic ‘Plugin Update Causing Parse Error’ is closed to new replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Mehrshad Darzi](https://wordpress.org/support/users/mehrshaddarzi/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-update-causing-parse-error/#post-11691176)
 * Status: not resolved