Title: [Plugin: NextGEN Gallery] Database update error
Last modified: August 19, 2016

---

# [Plugin: NextGEN Gallery] Database update error

 *  Resolved [wretchederin](https://wordpress.org/support/users/wretchederin/)
 * (@wretchederin)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-database-update-error/)
 * I upgraded the NextGen gallery and when I try to update the database, I get this
   error:
 * Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION
   or T_VAR or ‘}’ in /hsphere/local/home/wretched/erinempey.com/wp-content/plugins/
   nextgen-gallery/admin/upgrade.php on line 383
 * Can anybody explain what the problem is?

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

 *  [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * (@alexrabe)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-database-update-error/#post-1810673)
 * Please switch to PHP5
 *  [denoor71](https://wordpress.org/support/users/denoor71/)
 * (@denoor71)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-database-update-error/#post-1810732)
 * And for those of us without PHP5, any chance to revert the update?
 * Now I can’t add anything to my galleries or do anything at all…
 *  [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * (@alexrabe)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-database-update-error/#post-1810735)
 * downgrade to 1.6.2 : [http://wordpress.org/extend/plugins/nextgen-gallery/download/](http://wordpress.org/extend/plugins/nextgen-gallery/download/)
 *  Thread Starter [wretchederin](https://wordpress.org/support/users/wretchederin/)
 * (@wretchederin)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-database-update-error/#post-1810744)
 * Thanks Alex. I kinda guessed that was the problem but wanted to be sure before
   I spent hours backing up files and getting my host to upgrade.
 *  [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * (@alexrabe)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-database-update-error/#post-1810837)
 * I released V1.7.1 to fix this issue

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

The topic ‘[Plugin: NextGEN Gallery] Database update error’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-database-update-error/#post-1810837)
 * Status: resolved