• Resolved thejameswilliam

    (@thejameswilliam)


    This plugin is a perfect solution for my site! But I am getting this error when installing:

    Plugin could not be activated because it triggered a fatal error.
    Parse error: syntax error, unexpected T_FUNCTION in /home/*****/wp-content/plugins/gravity-forms-post-updates/gravityforms-update-post.php on line 920

    I’ve done the usual check of deactivating all my plugins (except one, Advanced Custom Fields, as its required for my site to load). Could ACF plugin have a conflict?

    Thanks for your help!

    https://ww.wp.xz.cn/plugins/gravity-forms-post-updates/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jupitercow

    (@jcow)

    You will need to update your version PHP. If that is not possible, and you don’t need to allow list fields to be updated, you can delete lines 906 – 922 or just 920 even.

    You will need to keep deleting that each time you upgrade. I have tried to replace that anonymous function, but I can find a way around it, and it requires PHP 5.3 or greater.

    It is ideal to keep PHP up-to-date though.

    Thread Starter thejameswilliam

    (@thejameswilliam)

    Thanks for the reply!
    Yeah, I continued my research and found that. Curious why godaddy isnt using at least 5.3 by default. All upgraded now!

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

The topic ‘Parse error: syntax error, unexpected T_FUNCTION’ is closed to new replies.