• Resolved xulciax

    (@xulciax)


    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

    (@navzme)

    Hi @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.

    @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

    (@navzme)

    @pugaj good catch. I’ll fix this up in the next release.

    Thanks @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.