Title: Parse Error
Last modified: September 3, 2018

---

# Parse Error

 *  Resolved [xulciax](https://wordpress.org/support/users/xulciax/)
 * (@xulciax)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/parse-error-491/)
 * Hello i got one error after migrated to another server. It shows on admin panel
   when i am editing post. Worked fine before migration. New vps has 5.2 php version
   so maybe this is a problem?
 * Parse error: syntax error, unexpected T_IS_EQUAL, expecting ‘)’ in /wp-content/
   plugins/navz-photo-gallery/includes/acf_photo_gallery_metabox_edit.php on line
   16

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

 *  Plugin Author [Navneil Naicker](https://wordpress.org/support/users/navzme/)
 * (@navzme)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/parse-error-491/#post-10658275)
 * Hi [@xulciax](https://wordpress.org/support/users/xulciax/)
    Please note that
   PHP 5.2 is very outdated. We only support PHP 5.6 and above. We have used features
   of PHP 5.6 to build this plugin. Sorry about this but we might not be able to
   provide support for PHP 5.2.
 *  [pugaj](https://wordpress.org/support/users/pugaj/)
 * (@pugaj)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/parse-error-491/#post-11120900)
 * [@navzme](https://wordpress.org/support/users/navzme/) It’s ok to support only
   5.6 and above. But I think that to write
    `echo (!empty($value=='true'))?'checked':'';`
   instead of `echo (($value == 'true') ? 'checked' : '');` is just nonsense…
 *  Plugin Author [Navneil Naicker](https://wordpress.org/support/users/navzme/)
 * (@navzme)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/parse-error-491/#post-11121169)
 * [@pugaj](https://wordpress.org/support/users/pugaj/) good catch. I’ll fix this
   up in the next release.
 *  [Jonathan Afranio](https://wordpress.org/support/users/jonathanafranio89/)
 * (@jonathanafranio89)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/parse-error-491/#post-11534433)
 * Thanks [@pugaj](https://wordpress.org/support/users/pugaj/). I had this problem,
   I accessed this link and I did what you suggested and solved the problem.
 * Thank you very much.

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

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

 * ![](https://ps.w.org/navz-photo-gallery/assets/icon-128x128.png?rev=2607741)
 * [ACF Photo Gallery Field](https://wordpress.org/plugins/navz-photo-gallery/)
 * [Support Threads](https://wordpress.org/support/plugin/navz-photo-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/navz-photo-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/navz-photo-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/navz-photo-gallery/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [Jonathan Afranio](https://wordpress.org/support/users/jonathanafranio89/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/parse-error-491/#post-11534433)
 * Status: resolved