• Resolved manzoor47

    (@manzoor47)


    Hi, I am currently using HubSpot for Gravity Forms version 1.6.2 and when i upgrade to 2.0; i get this error:
    Parse error: syntax error, unexpected T_FUNCTION in /home2/***/public_html/***/wp-content/plugins/gravityforms-hubspot/library/class.gf-hubspot-migration.php on line 27

    My website stops working. I tried completely removing the plugin and installing 2.0 but i get the same error.

    https://www.ads-software.com/plugins/gravityforms-hubspot/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter manzoor47

    (@manzoor47)

    any update on this?

    Thread Starter manzoor47

    (@manzoor47)

    i guess i should start looking for other solution. Thank you.

    Plugin Author Chris Lagasse

    (@soben)

    Manzoor,

    I apologize. I regularly check this support chat, but I had a busy week last week.

    Your version of PHP doesn’t support anonymous functions. I am following the WordPress core for how to use this functionality.

    Long term, you really need to upgrade your version of PHP.

    I could’ve sworn I already had this fix in place due to another bug reported a month ago, but I will have a fix up in 30 minutes or so.

    Thread Starter manzoor47

    (@manzoor47)

    Thanks Soben. For now I have disabled WordPress auto updates to prevent auto updating Gravityform to hubspot plugin and currently using an old version. I will wait for your fix before upgrading again.

    I really appreciate for getting back to me.

    Plugin Author Chris Lagasse

    (@soben)

    I apparently fixed another anonymous function, but because that user was a new one (and didn’t have any migration to do), she didn’t encounter this second one.

    Version 2.0.2 just released.

    I did a search for any other anonymous functions, but that appears to be all of them now.

    Let me know how this goes ??

    -Chris.

    Thread Starter manzoor47

    (@manzoor47)

    it worked! thank you so much Soben!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Upgrade not working’ is closed to new replies.