Title: PHP Error with NextGEN Gallery
Last modified: April 20, 2023

---

# PHP Error with NextGEN Gallery

 *  Resolved [danielhubes](https://wordpress.org/support/users/danielhubes/)
 * (@danielhubes)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-error-with-nextgen-gallery/)
 * My company manages a website for another organization and it has started experiencing
   fatal errors with **NextGEN Gallery**. I believe the issue is the related to 
   the site’s PHP version as the error is syntax related.
 * The error is below.
 * **Fatal error**: Unparenthesized `a ? b : c ? d : e` is not supported. Use either`(
   a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in **/home/johmaz5/iowalincolnhighway.
   org/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/
   package.module.nextgen_admin.php** on line **368**
 * Should I revert the site back to PHP 7.XX to fix the syntax issue or would there
   be another solution that would be better?
 * Thanks, Big Dan

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

 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-error-with-nextgen-gallery/#post-16674574)
 * Hi [@danielhubes](https://wordpress.org/support/users/danielhubes/),
 * Could you please let us know what NGG version are you using for your site?
   It
   may worth deleting NGG plugin’s folder by FTP and re-installing it to make sure
   that your installation isn’t corrupted and doesn’t use legacy code.
 *  Thread Starter [danielhubes](https://wordpress.org/support/users/danielhubes/)
 * (@danielhubes)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-error-with-nextgen-gallery/#post-16685767)
 * [@imagely](https://wordpress.org/support/users/imagely/) The Version is 3.2.10,
   sorry for the late response. Would removing and reinstalling NGG delete all the
   of the front end work associated with NGG?
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-error-with-nextgen-gallery/#post-16687585)
 * [@danielhubes](https://wordpress.org/support/users/danielhubes/)
 * This is an old version we’ve released in = V3.2.10 – 07.23.2019 =
 * Updating NextGen Gallery plugin is safe and necessary. Your already existing 
   galleries will remain unchanged.

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

The topic ‘PHP Error with NextGEN Gallery’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Imagely](https://wordpress.org/support/users/imagely/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/php-error-with-nextgen-gallery/#post-16687585)
 * Status: resolved